aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2011-07-24 10:52:53 +0000
committerFrederic Culot <culot@FreeBSD.org>2011-07-24 10:52:53 +0000
commit98c45ac7a790f3fae1cabde239a544e0aaa2c25d (patch)
treef621f18337502e6c716c4a33f33cb769a13ff215 /lang
parent6b37b32dce9918601decb778f0cf8b2ff0e41b1a (diff)
downloadports-98c45ac7a790f3fae1cabde239a544e0aaa2c25d.tar.gz
ports-98c45ac7a790f3fae1cabde239a544e0aaa2c25d.zip
- Fix compilation on 9.0 [1]
- Mark MAKE_JOBS_SAFE Reported by: pav@ [1] Fixed by: John Marino <draco@marino.st> (maintainer, via email)
Notes
Notes: svn path=/head/; revision=278230
Diffstat (limited to 'lang')
-rw-r--r--lang/gnat-aux/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lang/gnat-aux/Makefile b/lang/gnat-aux/Makefile
index ff5d2f2c0a7c..099c3de49a63 100644
--- a/lang/gnat-aux/Makefile
+++ b/lang/gnat-aux/Makefile
@@ -28,6 +28,7 @@ USE_BISON= build
USE_PERL5_BUILD= yes
USE_LDCONFIG= yes
ALL_TARGET= default
+MAKE_JOBS_SAFE= yes
SNAPSHOT= 20110627
GCC_BRANCH= 4.6
@@ -175,6 +176,12 @@ post-extract:
# The only shared lib is libc.so.7, so it should work for a long time.
# if FBSD 9.0 upgrades libc, a compat8x requirement could be added
# for FreeBSD 7.x and 8.x
+
+.if ${OSVERSION} > 900000
+ # Since June 7, bootstrap compiler's include-fixed headers have been
+ # incompatible with FreeBSD 9.0-CURRENT
+ ${RM} -rf ${BOOTSTRAP_PREFIX}/lib/gcc/${BOOTSTRAP_TRIPLET}/include-fixed
+.endif
.endif
do-configure: