[102272] trunk/dports/graphics/enblend/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Jan 29 15:33:18 PST 2013


Revision: 102272
          https://trac.macports.org/changeset/102272
Author:   jeremyhu at macports.org
Date:     2013-01-29 15:33:18 -0800 (Tue, 29 Jan 2013)
Log Message:
-----------
enblend: Use compiler.blacklist with temporary dependency block

Modified Paths:
--------------
    trunk/dports/graphics/enblend/Portfile

Modified: trunk/dports/graphics/enblend/Portfile
===================================================================
--- trunk/dports/graphics/enblend/Portfile	2013-01-29 22:57:39 UTC (rev 102271)
+++ trunk/dports/graphics/enblend/Portfile	2013-01-29 23:33:18 UTC (rev 102272)
@@ -40,8 +40,22 @@
                 --enable-image-cache=yes \
                 --enable-split-doc=no
 
-if {${configure.compiler} == "clang"} {
-    configure.compiler llvm-gcc-4.2
+# TODO: Project has buggy C++ code
+# https://trac.macports.org/ticket/31762
+compiler.blacklist clang
+
+# TODO: base should do this: http://trac.macports.org/ticket/32542
+if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
+    depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
+
+    # base 2.1.x ignores the argument and just use ${configure.compiler}
+    if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
+        depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
+    }
+
+    if {[string match macports-gcc* ${configure.compiler}]} {
+        depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
+    }
 }
 
 # The build uses vast amounts of memory per job.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130129/3e9adf02/attachment.html>


More information about the macports-changes mailing list