aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/nurbs++
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 /graphics/nurbs++
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 'graphics/nurbs++')
-rw-r--r--graphics/nurbs++/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/nurbs++/Makefile b/graphics/nurbs++/Makefile
index c90845b4aec..e76e614b6da 100644
--- a/graphics/nurbs++/Makefile
+++ b/graphics/nurbs++/Makefile
@@ -22,8 +22,14 @@ INSTALLS_SHLIB= yes
MAN1= nurbs++-config.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
pre-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/nurbs/nurbs.cpp ${WRKSRC}/nurbs/nurbsS.cpp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>