summaryrefslogtreecommitdiffstats
path: root/comms/mwavem
diff options
context:
space:
mode:
Diffstat (limited to 'comms/mwavem')
-rw-r--r--comms/mwavem/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/comms/mwavem/Makefile b/comms/mwavem/Makefile
index bbb2ec5..d04cf90 100644
--- a/comms/mwavem/Makefile
+++ b/comms/mwavem/Makefile
@@ -28,6 +28,9 @@ SLEEP= /bin/sleep
pre-build:
${PERL} -pi.orig -e "s@ /modules@ ${PREFIX}/share/mwavem@g" ${WRKSRC}/src/drivers/Makefile
+ ${PERL} -pi.orig -e "s@#include <malloc.h>\n@@g" \
+ ${WRKSRC}/src/mwmbl/mwblapi.c \
+ ${WRKSRC}/src/mwwtt32/mwwttbl.c
pre-install:
${MKDIR} ${DATADIR}
OpenPOWER on IntegriCloud