aboutsummaryrefslogtreecommitdiff
path: root/math/newmat
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-08-16 02:47:09 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-08-16 02:47:09 +0000
commiteb9984e0f5ec02abe837b7388b574d185c7ed621 (patch)
treede5b178d08b2c6aaf058df603c23439e2635ec4a /math/newmat
parent7bde97722a721c4609c220fa0c001da656caa245 (diff)
downloadports-eb9984e0f5ec02abe837b7388b574d185c7ed621.tar.gz
ports-eb9984e0f5ec02abe837b7388b574d185c7ed621.zip
Notes
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 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>