summaryrefslogtreecommitdiff
path: root/lang/gcc28/Makefile
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2005-02-12 13:19:47 +0000
committerDavid Schultz <das@FreeBSD.org>2005-02-12 13:19:47 +0000
commit3e34029c2ea0aaad41f948ba61f734598585c972 (patch)
treeaa626977f6d195f8f6989f7b6b171e6c8e456dc7 /lang/gcc28/Makefile
parento Add CONFLITS. (diff)
Fix build. Ports that formerly attempted to work around problems
created by matherr() no longer need to do so.
Diffstat (limited to 'lang/gcc28/Makefile')
-rw-r--r--lang/gcc28/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile
index eee04c845a34..c837e40a74b2 100644
--- a/lang/gcc28/Makefile
+++ b/lang/gcc28/Makefile
@@ -34,8 +34,11 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.else
CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
-
+CONFIGURE_ENV+= OSVERSION=${OSVERSION}
PLIST_SUB= GNUHOST=${CONFIGURE_TARGET}
+.if ${OSVERSION} < 600011
+PLIST_FILES+= lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/include/math.h
+.endif
CONFIGURE_ARGS= --with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/include/g++
CONFIGURE_ARGS+= --program-suffix=28
GNU_CONFIGURE= yes