aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
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 c4a3b0b834d..a914a15141e 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 0e08e000c88..2bcd00bb395 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 3d3fae63a74..01fb578d205 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 64881404b40..5db8fef9013 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 f349da34bef..ae46d4c2223 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 \