summaryrefslogtreecommitdiff
path: root/comms/mwavem
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-03-29 23:44:05 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-03-29 23:44:05 +0000
commit843b696822e442afbab108e111ef3454dc8a7d74 (patch)
tree55a0804a3b66c0e68663d5e526faf7d0c6c99daa /comms/mwavem
parentForced commit to note that this patch was: (diff)
Fix build on -current (malloc.h).
PR: 36499 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=56888
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 bbb2ec5a1f4e..d04cf9088980 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}