[39105] trunk/dports/www
ryandesign at macports.org
ryandesign at macports.org
Fri Aug 8 02:29:34 PDT 2008
Revision: 39105
http://trac.macosforge.org/projects/macports/changeset/39105
Author: ryandesign at macports.org
Date: 2008-08-08 02:29:33 -0700 (Fri, 08 Aug 2008)
Log Message:
-----------
php5, php5-devel: fix mssql variant to work with freetds 0.82; closes #16257
Modified Paths:
--------------
trunk/dports/www/php5/Portfile
trunk/dports/www/php5-devel/Portfile
Modified: trunk/dports/www/php5/Portfile
===================================================================
--- trunk/dports/www/php5/Portfile 2008-08-08 09:14:48 UTC (rev 39104)
+++ trunk/dports/www/php5/Portfile 2008-08-08 09:29:33 UTC (rev 39105)
@@ -198,6 +198,13 @@
port:freetds
configure.args-append \
--with-mssql=${prefix}
+
+ # See http://bugs.php.net/bug.php?id=44991
+ post-patch {
+ reinplace "s|tds.h|sybdb.h|g" ${worksrcpath}/configure
+ reinplace "s|libtds.a|libsybdb.a|g" ${worksrcpath}/configure
+ reinplace "s|libtds.so|libsybdb.dylib|g" ${worksrcpath}/configure
+ }
}
variant snmp conflicts macports_snmp description {use Apple snmp} {
Modified: trunk/dports/www/php5-devel/Portfile
===================================================================
--- trunk/dports/www/php5-devel/Portfile 2008-08-08 09:14:48 UTC (rev 39104)
+++ trunk/dports/www/php5-devel/Portfile 2008-08-08 09:29:33 UTC (rev 39105)
@@ -194,6 +194,13 @@
port:freetds
configure.args-append \
--with-mssql=${prefix}
+
+ # See http://bugs.php.net/bug.php?id=44991
+ post-patch {
+ reinplace "s|tds.h|sybdb.h|g" ${worksrcpath}/configure
+ reinplace "s|libtds.a|libsybdb.a|g" ${worksrcpath}/configure
+ reinplace "s|libtds.so|libsybdb.dylib|g" ${worksrcpath}/configure
+ }
}
variant snmp conflicts macports_snmp description {use Apple snmp} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080808/ff8d14fe/attachment.html
More information about the macports-changes
mailing list