[85607] trunk/dports/lang/apple-gcc42/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Oct 15 00:26:25 PDT 2011


Revision: 85607
          http://trac.macports.org/changeset/85607
Author:   ryandesign at macports.org
Date:     2011-10-15 00:26:24 -0700 (Sat, 15 Oct 2011)
Log Message:
-----------
apple-gcc42: properly disable universal variant which doesn't work (#31603); remove obsolete remark about reason for lack of universal variant (#31606)

Modified Paths:
--------------
    trunk/dports/lang/apple-gcc42/Portfile

Modified: trunk/dports/lang/apple-gcc42/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc42/Portfile	2011-10-15 06:50:22 UTC (rev 85606)
+++ trunk/dports/lang/apple-gcc42/Portfile	2011-10-15 07:26:24 UTC (rev 85607)
@@ -44,8 +44,6 @@
 #                    rmd160  bb4b256f7e7779361214593343821a127ee78d1a
 
 # Needed for gfortran:
-# gmp and mpfr are not universal
-#universal_variant       no
 #depends_lib             port:gmp port:mpfr port:libiconv
 
 depends_run             port:gcc_select
@@ -136,7 +134,7 @@
 	RC_NONARCH_CFLAGS="-pipe -std=gnu89" \
 	RC_OS="macos"
 
-if {[variant_isset universal]} {
+if {[variant_exists universal] && [variant_isset universal]} {
 	build.args-append \
 		RC_ARCHS="${universal_archs}"
 } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111015/2a289306/attachment.html>


More information about the macports-changes mailing list