aboutsummaryrefslogtreecommitdiffstats
path: root/math
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
parente5d04d3f060d46a9bfac85f18b9262a287c64a4c (diff)
downloadfreebsd-ports-gnome-fe73550fdbbd90c012ebc574160fcbd8a0386201.tar.gz
freebsd-ports-gnome-fe73550fdbbd90c012ebc574160fcbd8a0386201.tar.zst
freebsd-ports-gnome-fe73550fdbbd90c012ebc574160fcbd8a0386201.zip
BROKEN on 5.x: Does not compile with gcc 3.4.2
Diffstat (limited to 'math')
-rw-r--r--math/newmat/Makefile8
-rw-r--r--math/rascal/Makefile4
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