[102253] trunk/dports/gnustep/gnustep-make/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Jan 29 08:53:04 PST 2013
Revision: 102253
https://trac.macports.org/changeset/102253
Author: jeremyhu at macports.org
Date: 2013-01-29 08:53:04 -0800 (Tue, 29 Jan 2013)
Log Message:
-----------
gnustep-make: Use compiler.blacklist
Modified Paths:
--------------
trunk/dports/gnustep/gnustep-make/Portfile
Modified: trunk/dports/gnustep/gnustep-make/Portfile
===================================================================
--- trunk/dports/gnustep/gnustep-make/Portfile 2013-01-29 16:51:00 UTC (rev 102252)
+++ trunk/dports/gnustep/gnustep-make/Portfile 2013-01-29 16:53:04 UTC (rev 102253)
@@ -27,13 +27,21 @@
destroot.violate_mtree yes
-platform darwin 8 {
- depends_lib 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 {[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})
+ }
}
-platform darwin 9 {
- configure.compiler gcc-4.2
-}
configure.args CC=${configure.cc} \
--with-library-combo=gnu-gnu-gnu \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130129/77d62697/attachment.html>
More information about the macports-changes
mailing list