[109661] trunk/dports/lang/eero-devel/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Aug 19 09:18:05 PDT 2013


Revision: 109661
          https://trac.macports.org/changeset/109661
Author:   jeremyhu at macports.org
Date:     2013-08-19 09:18:04 -0700 (Mon, 19 Aug 2013)
Log Message:
-----------
eero-devel: Use compiler.blacklist

Modified Paths:
--------------
    trunk/dports/lang/eero-devel/Portfile

Modified: trunk/dports/lang/eero-devel/Portfile
===================================================================
--- trunk/dports/lang/eero-devel/Portfile	2013-08-19 16:09:48 UTC (rev 109660)
+++ trunk/dports/lang/eero-devel/Portfile	2013-08-19 16:18:04 UTC (rev 109661)
@@ -1,3 +1,5 @@
+# $Id$
+
 # Much of this Portfile is borrowed from clang-3.2, with adaptations where
 # needed.
 
@@ -3,4 +5,5 @@
 PortSystem              1.0
 PortGroup select        1.0
+PortGroup compiler_blacklist_versions 1.0
 
 name                    eero-devel
@@ -70,19 +73,8 @@
 }
 
 # It seems only clang (>= 3.1 ?) can compile eero
-if {${configure.compiler} == "gcc-4.0" || ${configure.compiler} == "gcc-4.2"} {
-    configure.compiler macports-clang-3.1
-    if {![file exists ${configure.cc}]} {
-        depends_build-append port:clang-3.1 port:cctools
-        if {[variant_isset mp_ld64]} {
-			depends_build-append	port:ld64
-		}
-        depends_skip_archcheck-append clang-3.1 ld64 cctools
+compiler.blacklist-append gcc-4.0 gcc-4.2 apple-gcc-4.2 llvm-gcc-4.2 macports-llvm-gcc-4.2 {clang < 300}
 
-        configure.compiler macports-clang-3.1
-    }
-}
-
 variant universal {
     build.env-append \
         UNIVERSAL=1 \
@@ -90,15 +82,6 @@
     destroot.env-append \
         UNIVERSAL=1 \
         UNIVERSAL_ARCH="[get_canonical_archs]"
-
-    post-extract {
-        # workaround a bug in Apple's shipped gcc driver-driver, patched in
-        # ours with driverdriver-num_infiles.patch
-        if {${configure.compiler} == "gcc-4.0" ||
-            ${configure.compiler} == "gcc-4.2"} {
-            system "echo \"static int ___ignoreme;\" > ${worksrcpath}/tools/llvm-shlib/ignore.c"
-        }
-    }
 }
 
 variant assertions description "Enable assertions for error detection (has performance impacts, especially on JIT)" {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130819/a2e76c2f/attachment.html>


More information about the macports-changes mailing list