summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
commitb7ff7031ea6f07582ad920bef0ffd13ac1adcc44 (patch)
treefa95c4dec9e92efb4ff7df81d579129d7bc11807 /math
parentFix F77 detection. (diff)
BROKEN with gcc 4.2
Notes
Notes: svn path=/head/; revision=191950
Diffstat (limited to 'math')
-rw-r--r--math/freefem/Makefile8
-rw-r--r--math/fxt/Makefile8
-rw-r--r--math/gambit/Makefile8
-rw-r--r--math/newmat/Makefile4
-rw-r--r--math/oleo/Makefile4
5 files changed, 29 insertions, 3 deletions
diff --git a/math/freefem/Makefile b/math/freefem/Makefile
index c4a3b0b834de..a914a15141ef 100644
--- a/math/freefem/Makefile
+++ b/math/freefem/Makefile
@@ -24,6 +24,12 @@ USE_LDCONFIG= yes
MAN1= freefem.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|debian doc freefem|debian freefem|g ; \
@@ -39,4 +45,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/examples/*.pde ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/fxt/Makefile b/math/fxt/Makefile
index 0e08e000c886..2bcd00bb395d 100644
--- a/math/fxt/Makefile
+++ b/math/fxt/Makefile
@@ -23,6 +23,12 @@ USE_GMAKE= yes
MAKEFILE= makefile
MAKE_ENV= CXX="${CXX}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -E \
-e 's,^(FXT_CXXFLAGS),#\1,' \
@@ -73,4 +79,4 @@ plist:
's,^${DOCSDIR}(.*),%%PORTDOCS%%@dirrm %%DOCSDIR%%\1,' \
>> pkg-plist
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/gambit/Makefile b/math/gambit/Makefile
index 3d3fae63a74b..01fb578d205b 100644
--- a/math/gambit/Makefile
+++ b/math/gambit/Makefile
@@ -30,7 +30,13 @@ LDFLAGS= ${PTHREAD_LIBS}
CFLAGS+= -O2 -fno-strict-aliasing
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/newmat/Makefile b/math/newmat/Makefile
index 64881404b402..5db8fef90135 100644
--- a/math/newmat/Makefile
+++ b/math/newmat/Makefile
@@ -23,6 +23,10 @@ ALL_TARGET= everything
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
do-install:
@${MKDIR} ${PREFIX}/include/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/${PORTNAME}
diff --git a/math/oleo/Makefile b/math/oleo/Makefile
index f349da34beff..ae46d4c22238 100644
--- a/math/oleo/Makefile
+++ b/math/oleo/Makefile
@@ -30,6 +30,10 @@ OPTIONS= MOTIF "Motif support" off \
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
.if defined(WITH_MOTIF)
LIB_DEPENDS+= plot:${PORTSDIR}/graphics/plotutils \
Xbae:${PORTSDIR}/x11-toolkits/xbae \