[76455] trunk/dports/science/xmedcon/Portfile
jameskyle at macports.org
jameskyle at macports.org
Wed Feb 23 15:46:10 PST 2011
Revision: 76455
http://trac.macports.org/changeset/76455
Author: jameskyle at macports.org
Date: 2011-02-23 15:46:09 -0800 (Wed, 23 Feb 2011)
Log Message:
-----------
Added system gcc variant. #28422
Modified Paths:
--------------
trunk/dports/science/xmedcon/Portfile
Modified: trunk/dports/science/xmedcon/Portfile
===================================================================
--- trunk/dports/science/xmedcon/Portfile 2011-02-23 23:25:49 UTC (rev 76454)
+++ trunk/dports/science/xmedcon/Portfile 2011-02-23 23:46:09 UTC (rev 76455)
@@ -23,13 +23,14 @@
depends_lib port:libpng \
port:glib2
-depends_build port:pkgconfig
+depends_build port:pkgconfig
+
configure.pre_args
configure.args --prefix=${prefix} \
--disable-gui \
--enable-png
-if {![variant_isset gcc43]} {
+if {![variant_isset gcc43] && ![variant_isset sysgcc]} {
default_variants +gcc44
}
@@ -39,6 +40,7 @@
depends_lib-append port:gtk2 \
path:lib/pkgconfig/glib-2.0.pc:glib2
}
+
variant gtk1 conflicts gtk2 description {Enable gtk1 legacy gui} {
depends_lib-append port:gtk1 \
port:gdk-pixbuf
@@ -47,14 +49,17 @@
configure.args-append --enable-gtk1
}
-variant gcc43 conflicts gcc44 description {Enable gcc43 compiler support} {
+variant gcc43 conflicts gcc44 sysgcc universal description {Enable gcc43 compiler support} {
depends_lib-append port:gcc43
-
configure.compiler macports-gcc-4.3
+ universal_variant no
}
-variant gcc44 conflicts gcc43 description {Enable gcc44 compiler support} {
+variant gcc44 conflicts gcc43 sysgcc universal description {Enable gcc44 compiler support} {
depends_lib-append port:gcc44
-
configure.compiler macports-gcc-4.4
+ universal_variant no
}
+
+variant sysgcc conflicts gcc44 gcc43 description {Use system gcc compiler} {
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110223/259e25ce/attachment-0001.html>
More information about the macports-changes
mailing list