aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2011-07-24 18:52:53 +0800
committerculot <culot@FreeBSD.org>2011-07-24 18:52:53 +0800
commit316aa03eeb17d6bf4771797527c46b081fd05290 (patch)
tree0876b9423189f13a358cf2be7536cb3c25ef458a /lang
parent2d848e13bb84ffcc86dc584a175bc82acf698577 (diff)
downloadfreebsd-ports-gnome-316aa03eeb17d6bf4771797527c46b081fd05290.tar.gz
freebsd-ports-gnome-316aa03eeb17d6bf4771797527c46b081fd05290.tar.zst
freebsd-ports-gnome-316aa03eeb17d6bf4771797527c46b081fd05290.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)
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: