aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-04-01 07:12:48 +0800
committerkris <kris@FreeBSD.org>2002-04-01 07:12:48 +0800
commit012f557a4ba8e814353ce12ed1df4e367a2d26df (patch)
tree541c6a047b51e999fbdb8dd3088f6361730df10c /math
parentcd3cdd80ec8629b25f5152bea17ef5a40199b947 (diff)
downloadfreebsd-ports-gnome-012f557a4ba8e814353ce12ed1df4e367a2d26df.tar.gz
freebsd-ports-gnome-012f557a4ba8e814353ce12ed1df4e367a2d26df.tar.zst
freebsd-ports-gnome-012f557a4ba8e814353ce12ed1df4e367a2d26df.zip
Remove #include <malloc.h>
Diffstat (limited to 'math')
-rw-r--r--math/simpack/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/math/simpack/Makefile b/math/simpack/Makefile
index f14e602550f7..d23591f9fcae 100644
--- a/math/simpack/Makefile
+++ b/math/simpack/Makefile
@@ -28,6 +28,11 @@ VERSION= 1
VERSION= 1.0
.endif
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/func/queuing/queuing.c \
+ ${WRKSRC}/func/queuing/queuing.h
+
post-build: create-libs create-scripts
do-install: do-install-bin do-install-include do-install-lib do-install-doc