[111756] trunk/dports/science/root/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Mon Sep 30 13:49:09 PDT 2013
Revision: 111756
https://trac.macports.org/changeset/111756
Author: macsforever2000 at macports.org
Date: 2013-09-30 13:49:09 -0700 (Mon, 30 Sep 2013)
Log Message:
-----------
root: Add runtime dependencies on clang compilers. Add sqlite3 variant. (#40637)
Modified Paths:
--------------
trunk/dports/science/root/Portfile
Modified: trunk/dports/science/root/Portfile
===================================================================
--- trunk/dports/science/root/Portfile 2013-09-30 17:22:55 UTC (rev 111755)
+++ trunk/dports/science/root/Portfile 2013-09-30 20:49:09 UTC (rev 111756)
@@ -5,7 +5,7 @@
name root
version 5.34.10
-revision 1
+revision 2
categories science
maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc
@@ -76,6 +76,7 @@
--disable-krb5 \
--disable-ldap \
--disable-mysql \
+ --disable-sqlite \
--disable-odbc \
--disable-opengl \
--disable-pythia6 \
@@ -292,6 +293,14 @@
depends_lib-append port:libxml2
}
+variant sqlite3 description {Build with sqlite3 support} {
+ configure.args-delete --disable-sqlite
+ configure.args-append --enable-sqlite \
+ --with-sqlite-incdir="${prefix}/include" \
+ --with-sqlite-libdir="${prefix}/lib"
+ depends_lib-append port:sqlite3
+}
+
variant mysql conflicts mysql51 mysql55 mariadb percona description {Build with mysql5 support} {
configure.args-delete --disable-mysql
configure.args-append --enable-mysql \
@@ -373,6 +382,7 @@
}
if {[string match macports-clang-3.1 ${configure.compiler}]} {
configure.args-append --with-llvm-config="${prefix}/bin/llvm-config-mp-3.1"
+ depends_run-append port:clang-3.1
}
variant clang32 conflicts clang31 clang33 description {Compile using MacPorts clang 3.2} {
@@ -380,6 +390,7 @@
}
if {[string match macports-clang-3.2 ${configure.compiler}]} {
configure.args-append --with-llvm-config="${prefix}/bin/llvm-config-mp-3.2"
+ depends_run-append port:clang-3.2
}
variant clang33 conflicts clang31 clang32 description {Compile using MacPorts clang 3.3} {
@@ -387,6 +398,7 @@
}
if {[string match macports-clang-3.3 ${configure.compiler}]} {
configure.args-append --with-llvm-config="${prefix}/bin/llvm-config-mp-3.3"
+ depends_run-append port:clang-3.3
}
if {[variant_isset qt_mac]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130930/8e4239d3/attachment.html>
More information about the macports-changes
mailing list