[98053] trunk/dports/x11

jeremyhu at macports.org jeremyhu at macports.org
Sun Sep 23 22:39:19 PDT 2012


Revision: 98053
          http://trac.macports.org//changeset/98053
Author:   jeremyhu at macports.org
Date:     2012-09-23 22:39:18 -0700 (Sun, 23 Sep 2012)
Log Message:
-----------
wine*: Use compiler whitelisting from base

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 05:28:44 UTC (rev 98052)
+++ trunk/dports/x11/wine/Portfile	2012-09-24 05:39:18 UTC (rev 98053)
@@ -144,13 +144,7 @@
 # BUILD FIX TODO: llvm-gcc-4.2, clang
 # llvm-gcc does not respect force_align_arg_pointer
 # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly)
-if {${configure.compiler} == "llvm-gcc-4.2"} {
-    configure.compiler gcc-4.2
-} elseif {${configure.compiler} == "clang"} {
-    depends_build-append port:apple-gcc42
-    depends_skip_archcheck-append apple-gcc42
-    configure.compiler apple-gcc-4.2
-}
+compiler.whitelist gcc-4.2 apple-gcc-4.2
 
 platform darwin {
     if {${os.major} <= 9} {

Modified: trunk/dports/x11/wine-crossover/Portfile
===================================================================
--- trunk/dports/x11/wine-crossover/Portfile	2012-09-24 05:28:44 UTC (rev 98052)
+++ trunk/dports/x11/wine-crossover/Portfile	2012-09-24 05:39:18 UTC (rev 98053)
@@ -147,13 +147,7 @@
 # BUILD FIX TODO: llvm-gcc-4.2, clang
 # llvm-gcc does not respect force_align_arg_pointer
 # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly)
-if {${configure.compiler} == "llvm-gcc-4.2"} {
-    configure.compiler gcc-4.2
-} elseif {${configure.compiler} == "clang"} {
-    depends_build-append port:apple-gcc42
-    depends_skip_archcheck-append apple-gcc42
-    configure.compiler apple-gcc-4.2
-}
+compiler.whitelist gcc-4.2 apple-gcc-4.2
 
 platform darwin {
     if {${os.major} <= 9} {

Modified: trunk/dports/x11/wine-devel/Portfile
===================================================================
--- trunk/dports/x11/wine-devel/Portfile	2012-09-24 05:28:44 UTC (rev 98052)
+++ trunk/dports/x11/wine-devel/Portfile	2012-09-24 05:39:18 UTC (rev 98053)
@@ -144,13 +144,7 @@
 # BUILD FIX TODO: llvm-gcc-4.2, clang
 # llvm-gcc does not respect force_align_arg_pointer
 # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly)
-if {${configure.compiler} == "llvm-gcc-4.2"} {
-    configure.compiler gcc-4.2
-} elseif {${configure.compiler} == "clang"} {
-    depends_build-append port:apple-gcc42
-    depends_skip_archcheck-append apple-gcc42
-    configure.compiler apple-gcc-4.2
-}
+compiler.whitelist gcc-4.2 apple-gcc-4.2
 
 platform darwin {
     if {${os.major} <= 9} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120923/a9ca3415/attachment-0001.html>


More information about the macports-changes mailing list