aboutsummaryrefslogtreecommitdiff
path: root/misc/bb
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bb')
-rw-r--r--misc/bb/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/bb/Makefile b/misc/bb/Makefile
index 49ef42e644e3..e8048ce32b34 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