[63791] trunk/dports/www/redland/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Feb 14 18:16:17 PST 2010
Revision: 63791
http://trac.macports.org/changeset/63791
Author: ryandesign at macports.org
Date: 2010-02-14 18:16:15 -0800 (Sun, 14 Feb 2010)
Log Message:
-----------
redland: fix mysql and bdb variants; see #19152
Modified Paths:
--------------
trunk/dports/www/redland/Portfile
Modified: trunk/dports/www/redland/Portfile
===================================================================
--- trunk/dports/www/redland/Portfile 2010-02-15 02:10:04 UTC (rev 63790)
+++ trunk/dports/www/redland/Portfile 2010-02-15 02:16:15 UTC (rev 63791)
@@ -3,7 +3,7 @@
PortSystem 1.0
name redland
version 1.0.10
-revision 1
+revision 2
description Redland RDF Library
long_description Redland is a set of free software libraries that provide \
support for the Resource Description Framework (RDF).
@@ -50,24 +50,24 @@
}
variant db44 conflicts db46 db47 {
- configure.cflags-append -I${prefix}/include/db44
- configure.ldflags-append -L${prefix}/lib/db44
- configure.args-delete --with-bdb=no
- depends_lib-append port:db44
+ configure.args-delete --with-bdb=no
+ configure.args-append --with-bdb-include=${prefix}/include/db44 \
+ --with-bdb-lib=${prefix}/lib/db44
+ depends_lib-append port:db44
}
variant db46 conflicts db44 db47 {
- configure.cflags-append -I${prefix}/include/db46
- configure.ldflags-append -L${prefix}/lib/db46
- configure.args-delete --with-bdb=no
- depends_lib-append port:db46
+ configure.args-delete --with-bdb=no
+ configure.args-append --with-bdb-include=${prefix}/include/db46 \
+ --with-bdb-lib=${prefix}/lib/db46
+ depends_lib-append port:db46
}
variant db47 conflicts db44 db46 {
- configure.cflags-append -I${prefix}/include/db47
- configure.ldflags-append -L${prefix}/lib/db47
- configure.args-delete --with-bdb=no
- depends_lib-append port:db47
+ configure.args-delete --with-bdb=no
+ configure.args-append --with-bdb-include=${prefix}/include/db47 \
+ --with-bdb-lib=${prefix}/lib/db47
+ depends_lib-append port:db47
}
variant mysql4 conflicts mysql5 {
@@ -77,6 +77,7 @@
variant mysql5 conflicts mysql4 {
configure.args-delete --with-mysql=no
+ configure.args-append --with-mysql=${prefix}/bin/mysql_config5
depends_lib-append path:bin/mysql_config5:mysql5
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100214/f33d59bb/attachment.html>
More information about the macports-changes
mailing list