diff options
-rw-r--r-- | graphics/nurbs++/Makefile | 4 |
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> |