[96594] trunk/dports/databases/libdbi-drivers

jmr at macports.org jmr at macports.org
Tue Aug 14 16:50:43 PDT 2012


Revision: 96594
          https://trac.macports.org/changeset/96594
Author:   jmr at macports.org
Date:     2012-08-14 16:50:41 -0700 (Tue, 14 Aug 2012)
Log Message:
-----------
libdbi-drivers: fix cflags (#34123) and homepage

Modified Paths:
--------------
    trunk/dports/databases/libdbi-drivers/Portfile

Added Paths:
-----------
    trunk/dports/databases/libdbi-drivers/files/
    trunk/dports/databases/libdbi-drivers/files/configure.patch

Modified: trunk/dports/databases/libdbi-drivers/Portfile
===================================================================
--- trunk/dports/databases/libdbi-drivers/Portfile	2012-08-14 23:04:49 UTC (rev 96593)
+++ trunk/dports/databases/libdbi-drivers/Portfile	2012-08-14 23:50:41 UTC (rev 96594)
@@ -9,7 +9,7 @@
 maintainers         umich.edu:mta
 description         Drivers for libdbi
 long_description    $description
-homepage            http://libdbi.sourceforge.net/
+homepage            http://libdbi-drivers.sourceforge.net/
 platforms           darwin
 master_sites        sourceforge
 
@@ -19,6 +19,8 @@
 
 depends_lib         port:libdbi
 
+patchfiles          configure.patch
+
 configure.args      --with-dbi-incdir=${prefix}/include --with-dbi-libdir=${prefix}/lib \
                     --disable-docs
 

Added: trunk/dports/databases/libdbi-drivers/files/configure.patch
===================================================================
--- trunk/dports/databases/libdbi-drivers/files/configure.patch	                        (rev 0)
+++ trunk/dports/databases/libdbi-drivers/files/configure.patch	2012-08-14 23:50:41 UTC (rev 96594)
@@ -0,0 +1,34 @@
+--- configure.orig	2008-03-04 04:41:58.000000000 +1100
++++ configure	2012-08-15 09:46:18.000000000 +1000
+@@ -20194,7 +20194,7 @@
+                 PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;;
+         *)
+                 DEBUG="-g"
+-                CFLAGS="-O"
++                CFLAGS+="-O"
+                 PROFILE="-g -p" ;;
+         esac
+ else
+@@ -20202,16 +20202,16 @@
+         case $host in
+         *-*-linux*)
+                 DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
+-                CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char"
+-                PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
++                CFLAGS+="-O4 -ffast-math -D_REENTRANT -fsigned-char"
++                PROFILE="-pg -g -O4 -ffast-math -D_REENTRANT -fsigned-char";;
+         sparc-sun-*)
+                 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8"
+-                CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
+-                PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
++                CFLAGS+="-O4 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
++                PROFILE="-pg -g -O4 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
+         *)
+                 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
+-                CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
+-                PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
++                CFLAGS+="-O4 -D__NO_MATH_INLINES -fsigned-char"
++                PROFILE="-O4 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
+         esac
+ fi
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120814/5bddb45d/attachment.html>


More information about the macports-changes mailing list