summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
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 f14e602..d23591f 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
OpenPOWER on IntegriCloud