aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/nurbs++
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 13:18:50 +0800
committerkris <kris@FreeBSD.org>2002-03-31 13:18:50 +0800
commitb16a1c64de7801a69bbb8f5f03e2ae80a8d20d7f (patch)
treed6b1484eb7510e23161f8daf70a0119a846cda03 /graphics/nurbs++
parent374c3db357a1716155ef0bd772149ca8482ce313 (diff)
downloadfreebsd-ports-graphics-b16a1c64de7801a69bbb8f5f03e2ae80a8d20d7f.tar.gz
freebsd-ports-graphics-b16a1c64de7801a69bbb8f5f03e2ae80a8d20d7f.tar.zst
freebsd-ports-graphics-b16a1c64de7801a69bbb8f5f03e2ae80a8d20d7f.zip
Remove #include <malloc.h>
Diffstat (limited to 'graphics/nurbs++')
-rw-r--r--graphics/nurbs++/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/nurbs++/Makefile b/graphics/nurbs++/Makefile
index f96e91d7d62..b2819ca457d 100644
--- a/graphics/nurbs++/Makefile
+++ b/graphics/nurbs++/Makefile
@@ -15,4 +15,8 @@ MAINTAINER= ports@FreeBSD.org
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/nurbs/nurbs.cc ${WRKSRC}/nurbs/nurbsS.cc
+
.include <bsd.port.mk>