Ignore:
Timestamp:
Aug 30, 2007, 2:16:38 PM (12 years ago)
Author:
mww@…
Message:

use configure.compiler instead

Location:
trunk/dports/databases/sqlite3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/sqlite3/Portfile

    r27791 r28410  
    2727configure.args  --enable-threadsafe --disable-tcl
    2828
    29 configure.cflags-append         -DSQLITE_ENABLE_LOCKING_STYLE=1 -I${prefix}/include/readline
     29configure.cflags-append         -DSQLITE_ENABLE_LOCKING_STYLE=1 -DHAVE_READLINE=1 -I${prefix}/include/readline
    3030configure.cppflags-append       -I${prefix}/include/readline
     31platform darwin { configure.ldflags     -lreadline }
     32platform freebsd { configure.ldflags    -lreadline -lm }
    3133
    3234build.type              gnu
     
    4446
    4547platform darwin 8 {
    46         configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
     48        configure.compiler      gcc-4.0
    4749}
    4850
  • trunk/dports/databases/sqlite3/files/patch-Makefile.in

    r26724 r28410  
    1 --- Makefile.in 2007-01-08 14:39:27.000000000 +0100
    2 +++ Makefile.in 2007-02-12 12:56:16.000000000 +0100
     1--- Makefile.in 2007-06-28 14:46:18.000000000 +0200
     2+++ Makefile.in 2007-08-15 21:35:23.000000000 +0200
    33@@ -44,11 +44,11 @@
    44 
     
    66 #
    77-READLINE_FLAGS = -DHAVE_READLINE=@TARGET_HAVE_READLINE@ @TARGET_READLINE_INC@
    8 +READLINE_FLAGS = -DHAVE_READLINE=1 @CFLAGS@
     8+READLINE_FLAGS = @TARGET_READLINE_INC@ @CFLAGS@
    99 
    1010 # The library that programs using readline() must link against.
    1111 #
    1212-LIBREADLINE = @TARGET_READLINE_LIBS@
    13 +LIBREADLINE = @LDFLAGS@ -lreadline
     13+LIBREADLINE = @TARGET_READLINE_LIBS@ @LDFLAGS@
    1414 
    1515 # Should the database engine be compiled threadsafe
    1616 #
    17 @@ -60,7 +60,7 @@
     17@@ -56,11 +56,11 @@
     18 
     19 # The pthreads library if needed
     20 #
     21-LIBPTHREAD=@TARGET_THREAD_LIB@
     22+LIBPTHREAD=@TARGET_THREAD_LIB@ @LDFLAGS@
    1823 
    1924 # Do threads override each others locks by default (1), or do we test (-1)
     
    2328 
    2429 # The fdatasync library
    25  TLIBS = @TARGET_LIBS@
     30 TLIBS = @LIBS@
    2631@@ -101,7 +101,9 @@
    2732 #
Note: See TracChangeset for help on using the changeset viewer.