summaryrefslogtreecommitdiffstats
path: root/math/oleo/Makefile
diff options
context:
space:
mode:
authorbmah <bmah@FreeBSD.org>2002-03-29 17:22:14 +0000
committerbmah <bmah@FreeBSD.org>2002-03-29 17:22:14 +0000
commit2a1e1e833d389db6f396f0e19804d7ec78c2aa0f (patch)
tree94448f2f1cc2ec743043ef2479e86ab20b6cb692 /math/oleo/Makefile
parentf45b08c2c8eb940eab177efe274264cf7b35c859 (diff)
downloadFreeBSD-ports-2a1e1e833d389db6f396f0e19804d7ec78c2aa0f.zip
FreeBSD-ports-2a1e1e833d389db6f396f0e19804d7ec78c2aa0f.tar.gz
Unbreak on 5-CURRENT (replace malloc.h references with stdlib.h).
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 666318a..039da6a 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>
OpenPOWER on IntegriCloud