aboutsummaryrefslogtreecommitdiffstats
path: root/math/oleo
diff options
context:
space:
mode:
authorbmah <bmah@FreeBSD.org>2002-03-30 01:22:14 +0800
committerbmah <bmah@FreeBSD.org>2002-03-30 01:22:14 +0800
commit2a1e1e833d389db6f396f0e19804d7ec78c2aa0f (patch)
tree94448f2f1cc2ec743043ef2479e86ab20b6cb692 /math/oleo
parentf45b08c2c8eb940eab177efe274264cf7b35c859 (diff)
downloadfreebsd-ports-gnome-2a1e1e833d389db6f396f0e19804d7ec78c2aa0f.tar.gz
freebsd-ports-gnome-2a1e1e833d389db6f396f0e19804d7ec78c2aa0f.tar.zst
freebsd-ports-gnome-2a1e1e833d389db6f396f0e19804d7ec78c2aa0f.zip
Unbreak on 5-CURRENT (replace malloc.h references with stdlib.h).
Diffstat (limited to 'math/oleo')
-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>