[26724] trunk/dports/databases/sqlite3

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 5 05:36:32 PDT 2007


Revision: 26724
          http://trac.macosforge.org/projects/macports/changeset/26724
Author:   mww at macports.org
Date:     2007-07-05 05:36:31 -0700 (Thu, 05 Jul 2007)

Log Message:
-----------
make port link to macports readline (again); this also should fix building on 10.3; increase revision;

Modified Paths:
--------------
    trunk/dports/databases/sqlite3/Portfile
    trunk/dports/databases/sqlite3/files/patch-Makefile.in

Modified: trunk/dports/databases/sqlite3/Portfile
===================================================================
--- trunk/dports/databases/sqlite3/Portfile	2007-07-05 11:43:44 UTC (rev 26723)
+++ trunk/dports/databases/sqlite3/Portfile	2007-07-05 12:36:31 UTC (rev 26724)
@@ -4,6 +4,7 @@
 
 name			sqlite3
 version			3.4.0
+revision		1
 categories		databases
 platforms		darwin
 maintainers		mww at macports.org
@@ -26,7 +27,8 @@
 
 configure.args	--enable-threadsafe --disable-tcl
 
-configure.cflags-append		-DSQLITE_ENABLE_LOCKING_STYLE=1
+configure.cflags-append		-DSQLITE_ENABLE_LOCKING_STYLE=1 -I${prefix}/include/readline
+configure.cppflags-append	-I${prefix}/include/readline
 
 build.type		gnu
 

Modified: trunk/dports/databases/sqlite3/files/patch-Makefile.in
===================================================================
--- trunk/dports/databases/sqlite3/files/patch-Makefile.in	2007-07-05 11:43:44 UTC (rev 26723)
+++ trunk/dports/databases/sqlite3/files/patch-Makefile.in	2007-07-05 12:36:31 UTC (rev 26724)
@@ -5,12 +5,12 @@
  # Compiler options needed for programs that use the readline() library.
  #
 -READLINE_FLAGS = -DHAVE_READLINE=@TARGET_HAVE_READLINE@ @TARGET_READLINE_INC@
-+READLINE_FLAGS = -DHAVE_READLINE=1 $(CFLAGS)
++READLINE_FLAGS = -DHAVE_READLINE=1 @CFLAGS@
  
  # The library that programs using readline() must link against.
  #
 -LIBREADLINE = @TARGET_READLINE_LIBS@
-+LIBREADLINE = $(LDFLAGS) -lreadline
++LIBREADLINE = @LDFLAGS@ -lreadline
  
  # Should the database engine be compiled threadsafe
  #

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070705/46598d2c/attachment.html


More information about the macports-changes mailing list