[102109] trunk/dports/x11/xorg-xcb-util/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 27 22:31:45 PST 2013
Revision: 102109
https://trac.macports.org/changeset/102109
Author: jeremyhu at macports.org
Date: 2013-01-27 22:31:45 -0800 (Sun, 27 Jan 2013)
Log Message:
-----------
xorg-xcb-util: Use compiler.blacklist
Modified Paths:
--------------
trunk/dports/x11/xorg-xcb-util/Portfile
Modified: trunk/dports/x11/xorg-xcb-util/Portfile
===================================================================
--- trunk/dports/x11/xorg-xcb-util/Portfile 2013-01-28 06:22:45 UTC (rev 102108)
+++ trunk/dports/x11/xorg-xcb-util/Portfile 2013-01-28 06:31:45 UTC (rev 102109)
@@ -24,12 +24,12 @@
depends_lib port:xorg-libxcb \
port:xorg-xproto
-if {${configure.compiler} == "gcc-4.0"} {
- configure.compiler gcc-4.2
- if {![file exists ${configure.cc}]} {
- depends_build-append port: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})
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130127/0ee6141e/attachment.html>
More information about the macports-changes
mailing list