[28410] trunk/dports/databases

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 30 07:16:38 PDT 2007


Revision: 28410
          http://trac.macosforge.org/projects/macports/changeset/28410
Author:   mww at macports.org
Date:     2007-08-30 07:16:38 -0700 (Thu, 30 Aug 2007)

Log Message:
-----------
use configure.compiler instead

Modified Paths:
--------------
    trunk/dports/databases/FreeTDS/Portfile
    trunk/dports/databases/db4/Portfile
    trunk/dports/databases/db41/Portfile
    trunk/dports/databases/db42/Portfile
    trunk/dports/databases/db43/Portfile
    trunk/dports/databases/db44/Portfile
    trunk/dports/databases/db45/Portfile
    trunk/dports/databases/db46/Portfile
    trunk/dports/databases/gauche-dbd-mysql/Portfile
    trunk/dports/databases/gauche-dbd-pg/Portfile
    trunk/dports/databases/mysql3/Portfile
    trunk/dports/databases/mysql4/Portfile
    trunk/dports/databases/mysql5/Portfile
    trunk/dports/databases/mysql5-devel/Portfile
    trunk/dports/databases/pgpool/Portfile
    trunk/dports/databases/postgis/Portfile
    trunk/dports/databases/postgresql/Portfile
    trunk/dports/databases/postgresql7/Portfile
    trunk/dports/databases/postgresql80/Portfile
    trunk/dports/databases/postgresql81/Portfile
    trunk/dports/databases/postgresql82/Portfile
    trunk/dports/databases/sqlite2/Portfile
    trunk/dports/databases/sqlite3/Portfile
    trunk/dports/databases/sqlite3/files/patch-Makefile.in

Modified: trunk/dports/databases/FreeTDS/Portfile
===================================================================
--- trunk/dports/databases/FreeTDS/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/FreeTDS/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -40,7 +40,7 @@
 	patchfiles      patch-src-tds-Makefile.in patch-src-server-Makefile.in \
 		patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \
 		patch-src-dblib-Makefile.in patch-src-apps-Makefile.in
-	configure.env	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 
 variant mssql {

Modified: trunk/dports/databases/db4/Portfile
===================================================================
--- trunk/dports/databases/db4/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/db4/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -29,8 +29,7 @@
                 --with-tcl=/usr/lib }
 platform darwin 8 { configure.args-append   --enable-tcl \
                 --with-tcl=/usr/lib
-                configure.env	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 \
-                CXX=/usr/bin/g++-4.0 }
+                configure.compiler	gcc-4.0 }
 
 platform darwin 6 { depends_lib-append bin:tclsh8.4:tcl
 		configure.args-append	--enable-tcl \

Modified: trunk/dports/databases/db41/Portfile
===================================================================
--- trunk/dports/databases/db41/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/db41/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -57,5 +57,5 @@
 }
 
 platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }

Modified: trunk/dports/databases/db42/Portfile
===================================================================
--- trunk/dports/databases/db42/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/db42/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -52,5 +52,5 @@
 }
 
 platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }

Modified: trunk/dports/databases/db43/Portfile
===================================================================
--- trunk/dports/databases/db43/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/db43/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -59,5 +59,5 @@
 }
 
 platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }

Modified: trunk/dports/databases/db44/Portfile
===================================================================
--- trunk/dports/databases/db44/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/db44/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -68,5 +68,5 @@
 }
 
 platform darwin 8 {
-	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }

Modified: trunk/dports/databases/db45/Portfile
===================================================================
--- trunk/dports/databases/db45/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/db45/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -64,5 +64,5 @@
 }
 
 platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }

Modified: trunk/dports/databases/db46/Portfile
===================================================================
--- trunk/dports/databases/db46/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/db46/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -51,5 +51,5 @@
 }
 
 platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }

Modified: trunk/dports/databases/gauche-dbd-mysql/Portfile
===================================================================
--- trunk/dports/databases/gauche-dbd-mysql/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/gauche-dbd-mysql/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -18,6 +18,6 @@
 destroot.destdir    prefix=${destroot}${prefix}
 
 platform darwin 8 {
-    configure.env-append    CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+    configure.compiler	gcc-4.0
 }
 

Modified: trunk/dports/databases/gauche-dbd-pg/Portfile
===================================================================
--- trunk/dports/databases/gauche-dbd-pg/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/gauche-dbd-pg/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -19,7 +19,7 @@
 destroot.destdir    prefix=${destroot}${prefix}
 
 platform darwin 8 {
-    configure.env-append    CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+    configure.compiler	gcc-4.0
 }
 
 variant postgresql7 {

Modified: trunk/dports/databases/mysql3/Portfile
===================================================================
--- trunk/dports/databases/mysql3/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/mysql3/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -78,5 +78,5 @@
 platform darwin 6 { depends_lib-append lib:libdl:dlcompat }
 
 platform darwin 8 {
-	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }

Modified: trunk/dports/databases/mysql4/Portfile
===================================================================
--- trunk/dports/databases/mysql4/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/mysql4/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -71,7 +71,7 @@
 }
 
 platform darwin 8 {
-        configure.env   CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+        configure.compiler	gcc-4.0
 }
 
 configure.args  --sysconfdir=${prefix}/etc/${name} --without-debug  \

Modified: trunk/dports/databases/mysql5/Portfile
===================================================================
--- trunk/dports/databases/mysql5/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/mysql5/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -59,8 +59,7 @@
 	--enable-thread-safe-client
 
 platform darwin 8 {
-	configure.env \
-		CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 
 variant server {

Modified: trunk/dports/databases/mysql5-devel/Portfile
===================================================================
--- trunk/dports/databases/mysql5-devel/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/mysql5-devel/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -75,7 +75,7 @@
 }
 
 platform darwin 8 {
-    configure.env	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+    configure.compiler	gcc-4.0
 }
 				
 variant server {

Modified: trunk/dports/databases/pgpool/Portfile
===================================================================
--- trunk/dports/databases/pgpool/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/pgpool/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -28,7 +28,7 @@
 }
 
 platform darwin 8 {
-	configure.env	CC=/usr/bin/gcc-4.0
+	configure.compiler	gcc-4.0
 }
 
 livecheck.check	regex

Modified: trunk/dports/databases/postgis/Portfile
===================================================================
--- trunk/dports/databases/postgis/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/postgis/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -31,7 +31,7 @@
 				--with-proj=${prefix}
 
 platform darwin 8 {
-	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 
 post-destroot {

Modified: trunk/dports/databases/postgresql/Portfile
===================================================================
--- trunk/dports/databases/postgresql/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/postgresql/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -77,7 +77,7 @@
 }
 
 platform darwin 8 {
-	configure.env-append	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 
 variant perl	{

Modified: trunk/dports/databases/postgresql7/Portfile
===================================================================
--- trunk/dports/databases/postgresql7/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/postgresql7/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -144,7 +144,7 @@
 }
 
 platform darwin 8 {
-	configure.env-append	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 
 livecheck.check	regex

Modified: trunk/dports/databases/postgresql80/Portfile
===================================================================
--- trunk/dports/databases/postgresql80/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/postgresql80/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -96,7 +96,7 @@
 }
 
 platform darwin 8 {
-	configure.env-append	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 
 variant server {

Modified: trunk/dports/databases/postgresql81/Portfile
===================================================================
--- trunk/dports/databases/postgresql81/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/postgresql81/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -97,7 +97,7 @@
 }
 
 platform darwin 8 {
-	configure.env-append	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 
 post-install {

Modified: trunk/dports/databases/postgresql82/Portfile
===================================================================
--- trunk/dports/databases/postgresql82/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/postgresql82/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -96,7 +96,7 @@
 }
 
 platform darwin 8 {
-	configure.env-append	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 
 post-install {

Modified: trunk/dports/databases/sqlite2/Portfile
===================================================================
--- trunk/dports/databases/sqlite2/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/sqlite2/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -28,5 +28,5 @@
 build.type		gnu
 
 platform darwin 8 {
-	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }

Modified: trunk/dports/databases/sqlite3/Portfile
===================================================================
--- trunk/dports/databases/sqlite3/Portfile	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/sqlite3/Portfile	2007-08-30 14:16:38 UTC (rev 28410)
@@ -26,8 +26,10 @@
 
 configure.args	--enable-threadsafe --disable-tcl
 
-configure.cflags-append		-DSQLITE_ENABLE_LOCKING_STYLE=1 -I${prefix}/include/readline
+configure.cflags-append		-DSQLITE_ENABLE_LOCKING_STYLE=1 -DHAVE_READLINE=1 -I${prefix}/include/readline
 configure.cppflags-append	-I${prefix}/include/readline
+platform darwin { configure.ldflags	-lreadline }
+platform freebsd { configure.ldflags	-lreadline -lm }
 
 build.type		gnu
 
@@ -43,6 +45,6 @@
 }
 
 platform darwin 8 {
-	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+	configure.compiler	gcc-4.0
 }
 

Modified: trunk/dports/databases/sqlite3/files/patch-Makefile.in
===================================================================
--- trunk/dports/databases/sqlite3/files/patch-Makefile.in	2007-08-30 14:09:19 UTC (rev 28409)
+++ trunk/dports/databases/sqlite3/files/patch-Makefile.in	2007-08-30 14:16:38 UTC (rev 28410)
@@ -1,28 +1,33 @@
---- Makefile.in	2007-01-08 14:39:27.000000000 +0100
-+++ Makefile.in	2007-02-12 12:56:16.000000000 +0100
+--- 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 = -DHAVE_READLINE=1 @CFLAGS@
++READLINE_FLAGS = @TARGET_READLINE_INC@ @CFLAGS@
  
  # The library that programs using readline() must link against.
  #
 -LIBREADLINE = @TARGET_READLINE_LIBS@
-+LIBREADLINE = @LDFLAGS@ -lreadline
++LIBREADLINE = @TARGET_READLINE_LIBS@ @LDFLAGS@
  
  # Should the database engine be compiled threadsafe
  #
-@@ -60,7 +60,7 @@
+@@ -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 = @TARGET_LIBS@
+ TLIBS = @LIBS@
 @@ -101,7 +101,9 @@
  #
  prefix = @prefix@

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070830/99a2c1b4/attachment.html


More information about the macports-changes mailing list