aboutsummaryrefslogtreecommitdiffstats
path: root/math/newmat
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-08-16 10:47:09 +0800
committerkris <kris@FreeBSD.org>2004-08-16 10:47:09 +0800
commitfe73550fdbbd90c012ebc574160fcbd8a0386201 (patch)
tree4f4eb10988e1cd84fc171bfcc6f47908608a811b /math/newmat
parente5d04d3f060d46a9bfac85f18b9262a287c64a4c (diff)
downloadfreebsd-ports-graphics-fe73550fdbbd90c012ebc574160fcbd8a0386201.tar.gz
freebsd-ports-graphics-fe73550fdbbd90c012ebc574160fcbd8a0386201.tar.zst
freebsd-ports-graphics-fe73550fdbbd90c012ebc574160fcbd8a0386201.zip
BROKEN on 5.x: Does not compile with gcc 3.4.2
Diffstat (limited to 'math/newmat')
-rw-r--r--math/newmat/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/newmat/Makefile b/math/newmat/Makefile
index df706c9c375..483bf55e7f3 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>