aboutsummaryrefslogtreecommitdiffstats
path: root/math/oleo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/oleo/Makefile')
-rw-r--r--math/oleo/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/oleo/Makefile b/math/oleo/Makefile
index 666318ac6067..039da6a69cc8 100644
--- a/math/oleo/Makefile
+++ b/math/oleo/Makefile
@@ -40,4 +40,8 @@ pre-everything::
@${ECHO_MSG}
.endif
+post-patch:
+ @find ${WRKSRC} -name '*.[ch]' | xargs \
+ ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"
+
.include <bsd.port.mk>