aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bb/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-01-26 15:54:29 +0800
committerkris <kris@FreeBSD.org>2002-01-26 15:54:29 +0800
commit76c9c6a7d73825c0ccea14c1e6554634e186e5a7 (patch)
tree03829abcaef7464a8ca39434dd40de329464606c /misc/bb/Makefile
parent3c630b70f1a07d3dbe73b97c5328a23780bf0664 (diff)
downloadfreebsd-ports-graphics-76c9c6a7d73825c0ccea14c1e6554634e186e5a7.tar.gz
freebsd-ports-graphics-76c9c6a7d73825c0ccea14c1e6554634e186e5a7.tar.zst
freebsd-ports-graphics-76c9c6a7d73825c0ccea14c1e6554634e186e5a7.zip
Fix build on -current
Diffstat (limited to 'misc/bb/Makefile')
-rw-r--r--misc/bb/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/bb/Makefile b/misc/bb/Makefile
index 49ef42e644e..e8048ce32b3 100644
--- a/misc/bb/Makefile
+++ b/misc/bb/Makefile
@@ -19,6 +19,9 @@ LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib
MAKEFILE= makefile
GNU_CONFIGURE= yes
+pre-patch:
+ ${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e "s@#include +<malloc.h>@#include <stdlib.h>@g"
+
pre-build:
@ cd ${WRKSRC}/mikunix; make