Modified: trunk/dports/lang/rust/Portfile (105685 => 105686)
--- trunk/dports/lang/rust/Portfile 2013-05-01 23:21:02 UTC (rev 105685)
+++ trunk/dports/lang/rust/Portfile 2013-05-02 00:14:29 UTC (rev 105686)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup active_variants 1.1
PortGroup compiler_blacklist_versions 1.0
name rust
@@ -125,6 +126,11 @@
if {[string first macports-gcc- ${configure.compiler}] == 0} {
depends_lib-append port:${compiler} \
{path:lib/libstdc\\+\\+.6.dylib:libstdcxx}
+
+ # The libs for both targets link to libgcc and libstdc++.
+ require_active_variants ${compiler} universal
+ require_active_variants {path:lib/libstdc\\+\\+.6.dylib:libstdcxx} \
+ universal
} else {
depends_build-append port:${compiler}
}