diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-08-16 02:47:09 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-08-16 02:47:09 +0000 |
commit | eb9984e0f5ec02abe837b7388b574d185c7ed621 (patch) | |
tree | de5b178d08b2c6aaf058df603c23439e2635ec4a /math | |
parent | o add missing jpeg dependency, broken configure script did not detect it. (diff) |
BROKEN on 5.x: Does not compile with gcc 3.4.2
Diffstat (limited to 'math')
-rw-r--r-- | math/newmat/Makefile | 8 | ||||
-rw-r--r-- | math/rascal/Makefile | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/math/newmat/Makefile b/math/newmat/Makefile index df706c9c3754..483bf55e7f3d 100644 --- a/math/newmat/Makefile +++ b/math/newmat/Makefile @@ -22,6 +22,12 @@ USE_GMAKE= yes MAKEFILE= nm_gnu.mak ALL_TARGET= everything +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 502126 +BROKEN= "Does not compile with gcc 3.4.2" +.endif + post-patch: @${REINPLACE_CMD} -e "s,^CXX,#CXX,g ; \ s,^CXXFLAGS,#CXXFLAGS,g" ${WRKSRC}/${MAKEFILE} @@ -31,4 +37,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/libnewmat.a ${PREFIX}/lib -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/math/rascal/Makefile b/math/rascal/Makefile index c863041ce94d..a49c540660f3 100644 --- a/math/rascal/Makefile +++ b/math/rascal/Makefile @@ -31,6 +31,10 @@ MAN1= rascal.1 .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 502126 +BROKEN= "Does not compile with gcc 3.4.2" +.endif + .if ${OSVERSION} < 502000 BUILD_DEPENDS= ${LOCALBASE}/lib/libreadline.so.4:${PORTSDIR}/devel/readline RUN_DEPENDS= ${LOCALBASE}/lib/libreadline.so.4:${PORTSDIR}/devel/readline |