[98070] trunk/dports/x11

jeremyhu at macports.org jeremyhu at macports.org
Sun Sep 23 23:56:06 PDT 2012


Revision: 98070
          http://trac.macports.org//changeset/98070
Author:   jeremyhu at macports.org
Date:     2012-09-23 23:56:06 -0700 (Sun, 23 Sep 2012)
Log Message:
-----------
wine*: Depend on apple-gcc42 if needed

Modified Paths:
--------------
    trunk/dports/x11/wine/Portfile
    trunk/dports/x11/wine-crossover/Portfile
    trunk/dports/x11/wine-devel/Portfile

Modified: trunk/dports/x11/wine/Portfile
===================================================================
--- trunk/dports/x11/wine/Portfile	2012-09-24 06:51:53 UTC (rev 98069)
+++ trunk/dports/x11/wine/Portfile	2012-09-24 06:56:06 UTC (rev 98070)
@@ -146,6 +146,12 @@
 # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly)
 compiler.whitelist gcc-4.2 apple-gcc-4.2
 
+# TODO: This should be done by base
+if {${configure.compiler} == "apple-gcc-4.2"} {
+    depends_build-append port:apple-gcc42
+    depends_skip_archcheck-append apple-gcc42
+}
+
 platform darwin {
     if {${os.major} <= 9} {
         # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support."

Modified: trunk/dports/x11/wine-crossover/Portfile
===================================================================
--- trunk/dports/x11/wine-crossover/Portfile	2012-09-24 06:51:53 UTC (rev 98069)
+++ trunk/dports/x11/wine-crossover/Portfile	2012-09-24 06:56:06 UTC (rev 98070)
@@ -149,6 +149,12 @@
 # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly)
 compiler.whitelist gcc-4.2 apple-gcc-4.2
 
+# TODO: This should be done by base
+if {${configure.compiler} == "apple-gcc-4.2"} {
+    depends_build-append port:apple-gcc42
+    depends_skip_archcheck-append apple-gcc42
+}
+
 platform darwin {
     if {${os.major} <= 9} {
         # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support."

Modified: trunk/dports/x11/wine-devel/Portfile
===================================================================
--- trunk/dports/x11/wine-devel/Portfile	2012-09-24 06:51:53 UTC (rev 98069)
+++ trunk/dports/x11/wine-devel/Portfile	2012-09-24 06:56:06 UTC (rev 98070)
@@ -146,6 +146,12 @@
 # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly)
 compiler.whitelist gcc-4.2 apple-gcc-4.2
 
+# TODO: This should be done by base
+if {${configure.compiler} == "apple-gcc-4.2"} {
+    depends_build-append port:apple-gcc42
+    depends_skip_archcheck-append apple-gcc42
+}
+
 platform darwin {
     if {${os.major} <= 9} {
         # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120923/83531a04/attachment.html>


More information about the macports-changes mailing list