[102082] trunk/dports/devel/ld64/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 27 10:57:00 PST 2013
Revision: 102082
https://trac.macports.org/changeset/102082
Author: jeremyhu at macports.org
Date: 2013-01-27 10:57:00 -0800 (Sun, 27 Jan 2013)
Log Message:
-----------
ld64: Use compiler.blacklist
Modified Paths:
--------------
trunk/dports/devel/ld64/Portfile
Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile 2013-01-27 18:53:57 UTC (rev 102081)
+++ trunk/dports/devel/ld64/Portfile 2013-01-27 18:57:00 UTC (rev 102082)
@@ -110,13 +110,12 @@
}
}
-if {${configure.compiler} == "gcc-4.0"} {
- configure.compiler gcc-4.2
- if {![file exists ${configure.cc}]} {
- depends_build-append port:apple-gcc42
- depends_skip_archcheck-append apple-gcc42
- configure.compiler apple-gcc-4.2
- }
+compiler.blacklist gcc-4.0
+
+# TODO: base should do this: http://trac.macports.org/ticket/32542
+if {[portconfigure::compiler_is_port ${configure.compiler}]} {
+ depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
+ depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
}
post-extract {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130127/69307089/attachment.html>
More information about the macports-changes
mailing list