summaryrefslogtreecommitdiffstats
path: root/comms/mwavem
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-03-29 23:44:05 +0000
committerpetef <petef@FreeBSD.org>2002-03-29 23:44:05 +0000
commit999f59927d89434af668d4ac2c812df6a9a049c9 (patch)
tree83b8597d330b345f7ca32fbf1f19ffbb05dc52d5 /comms/mwavem
parent9377b38eafbac46983b4db9720e478feb90276f5 (diff)
downloadFreeBSD-ports-999f59927d89434af668d4ac2c812df6a9a049c9.zip
FreeBSD-ports-999f59927d89434af668d4ac2c812df6a9a049c9.tar.gz
Fix build on -current (malloc.h).
PR: 36499 Submitted by: maintainer
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