[29816] trunk/dports/databases/sqlite3
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 10 12:08:34 PDT 2007
Revision: 29816
http://trac.macosforge.org/projects/macports/changeset/29816
Author: mww at macports.org
Date: 2007-10-10 12:08:34 -0700 (Wed, 10 Oct 2007)
Log Message:
-----------
version 3.5.1
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-10-10 18:29:58 UTC (rev 29815)
+++ trunk/dports/databases/sqlite3/Portfile 2007-10-10 19:08:34 UTC (rev 29816)
@@ -3,11 +3,10 @@
PortSystem 1.0
name sqlite3
-version 3.4.2
-revision 1
+version 3.5.1
categories databases
platforms darwin
-maintainers mww at macports.org
+maintainers mww
description an embedded SQL database engine
long_description SQLite3 is an SQL database engine in a C library. \
Programs that link the SQLite3 library can have SQL \
@@ -20,18 +19,16 @@
homepage http://www.sqlite.org/
master_sites ${homepage}
distname sqlite-${version}
-checksums sha1 1ab282719c7c2708536341db5b20f39ab27a654d
+checksums sha1 47de0a04d43baddf8ccb450c6e2adee74325e117
patchfiles patch-Makefile.in
depends_lib port:readline
-configure.args --enable-threadsafe --disable-tcl
+# '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary)
+configure.args --enable-threadsafe --disable-tcl \
+ --with-readline-inc="-I${prefix}/include" \
+ --with-readline-lib="-L${prefix}/lib -lreadline -lm"
-configure.cppflags-append -I${prefix}/include/readline
-configure.cflags-append -I${prefix}/include -DSQLITE_ENABLE_LOCKING_STYLE=1 -DHAVE_READLINE=1
-platform darwin { configure.ldflags-append -lreadline }
-platform freebsd { configure.ldflags-append -lreadline -lm }
-
build.type gnu
test.run yes
Modified: trunk/dports/databases/sqlite3/files/patch-Makefile.in
===================================================================
--- trunk/dports/databases/sqlite3/files/patch-Makefile.in 2007-10-10 18:29:58 UTC (rev 29815)
+++ trunk/dports/databases/sqlite3/files/patch-Makefile.in 2007-10-10 19:08:34 UTC (rev 29816)
@@ -1,33 +1,5 @@
--- Makefile.in 2007-06-28 14:46:18.000000000 +0200
+++ Makefile.in 2007-08-15 21:35:23.000000000 +0200
-@@ -44,11 +44,11 @@
-
- # Compiler options needed for programs that use the readline() library.
- #
--READLINE_FLAGS = -DHAVE_READLINE=@TARGET_HAVE_READLINE@ @TARGET_READLINE_INC@
-+READLINE_FLAGS = @TARGET_READLINE_INC@ @CFLAGS@
-
- # The library that programs using readline() must link against.
- #
--LIBREADLINE = @TARGET_READLINE_LIBS@
-+LIBREADLINE = @TARGET_READLINE_LIBS@ @LDFLAGS@
-
- # Should the database engine be compiled threadsafe
- #
-@@ -56,11 +56,11 @@
-
- # The pthreads library if needed
- #
--LIBPTHREAD=@TARGET_THREAD_LIB@
-+LIBPTHREAD=@TARGET_THREAD_LIB@ @LDFLAGS@
-
- # Do threads override each others locks by default (1), or do we test (-1)
- #
--TCC += -DSQLITE_THREAD_OVERRIDE_LOCK=@THREADSOVERRIDELOCKS@
-+TCC += -DSQLITE_THREAD_OVERRIDE_LOCK=@THREADSOVERRIDELOCKS@ -DSQLITE_ENABLE_LOCKING_STYLE=1
-
- # The fdatasync library
- TLIBS = @LIBS@
@@ -101,7 +101,9 @@
#
prefix = @prefix@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071010/062c6e8b/attachment.html
More information about the macports-changes
mailing list