aboutsummaryrefslogtreecommitdiffstats
path: root/math/freefem
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-05-27 11:03:31 +0800
committerkris <kris@FreeBSD.org>2007-05-27 11:03:31 +0800
commit3ee20a81fbe38cbba4000ad893e1ac81e953f2eb (patch)
tree965567cbb664ce2d1956915bd4daa13e8e6e1241 /math/freefem
parent0ccd4067feff5266b8b5bc29943d9c4ca415e847 (diff)
downloadfreebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.tar.gz
freebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.tar.zst
freebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.zip
BROKEN with gcc 4.2
Diffstat (limited to 'math/freefem')
-rw-r--r--math/freefem/Makefile8
1 files changed, 7 insertions, 1 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>