aboutsummaryrefslogtreecommitdiff
path: root/math/freefem
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/freefem
parentbd5f3dd41b37a452c489843e85d75cf94433bbc6 (diff)
downloadports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.tar.gz
ports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.zip
Notes
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>