summaryrefslogtreecommitdiff
path: root/graphics/nurbs++
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 05:18:50 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 05:18:50 +0000
commitf9f5e4616e0ed8027e42c3d7da6a710006a8f330 (patch)
tree5fe0d22f083f7b145636f4814374640eca1e463e /graphics/nurbs++
parentChase location of libxml2 headers (diff)
Remove #include <malloc.h>
Notes
Notes: svn path=/head/; revision=57026
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 f96e91d7d624..b2819ca457d8 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>