diff options
Diffstat (limited to 'math/freefem')
-rw-r--r-- | math/freefem/Makefile | 8 |
1 files changed, 7 insertions, 1 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> |