[115648] trunk/dports/lang/apple-gcc42/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Jan 7 12:39:18 PST 2014
Revision: 115648
https://trac.macports.org/changeset/115648
Author: ryandesign at macports.org
Date: 2014-01-07 12:39:18 -0800 (Tue, 07 Jan 2014)
Log Message:
-----------
apple-gcc42: do not try to build with apple-gcc42 on Tiger (#41782)
Modified Paths:
--------------
trunk/dports/lang/apple-gcc42/Portfile
Modified: trunk/dports/lang/apple-gcc42/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc42/Portfile 2014-01-07 20:30:07 UTC (rev 115647)
+++ trunk/dports/lang/apple-gcc42/Portfile 2014-01-07 20:39:18 UTC (rev 115648)
@@ -163,6 +163,15 @@
compiler.cpath /usr/include
compiler.library_path /usr/lib
+platform darwin 8 {
+ if {![file exists ${prefix}/bin/gcc-apple-4.2]} {
+ configure.compiler gcc-4.0
+ if {![file exists ${prefix}/bin/ld] || ![file exists ${prefix}/bin/as]} {
+ default_variants +bootstrap
+ }
+ }
+}
+
build.env \
PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
LANGUAGES="c,c++,objc,obj-c++"
@@ -211,13 +220,6 @@
}
}
-platform darwin 8 {
- if {![file exists ${prefix}/bin/gcc-apple-4.2] &&
- (![file exists ${prefix}/bin/ld] || ![file exists ${prefix}/bin/as])} {
- default_variants +bootstrap
- }
-}
-
set build_targets {}
if {${os.major} > 8 || ${os.arch} eq "i386"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140107/810dd761/attachment.html>
More information about the macports-changes
mailing list