aboutsummaryrefslogtreecommitdiff
path: root/math/simpack
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 23:12:48 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 23:12:48 +0000
commitd8203b903d286f832c189b1faaa6a40312ca1801 (patch)
tree03e6e9c0c0d50263fbbaeb2601c72945bb21f884 /math/simpack
parent8f0633b8d698135b43f3ae06723f02e4b9f5b8f5 (diff)
downloadports-d8203b903d286f832c189b1faaa6a40312ca1801.tar.gz
ports-d8203b903d286f832c189b1faaa6a40312ca1801.zip
Remove #include <malloc.h>
Notes
Notes: svn path=/head/; revision=57093
Diffstat (limited to 'math/simpack')
-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