summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/nas/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index d6bb60ac584..7a20dd7b0f5 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2003/09/17 19:39:58 grant Exp $
+# $NetBSD: Makefile,v 1.33 2003/10/26 00:02:05 grant Exp $
DISTNAME= nas-1.6.src
PKGNAME= ${DISTNAME:S/.src//}
@@ -25,6 +25,12 @@ PKG_SYSCONFSUBDIR= nas
REPLACE_PERL= clients/audio/auscope/auscope
+post-patch:
+ @for f in `${FIND} ${WRKSRC} -name '*.[ch]'`; do \
+ ${SED} -e "s|<malloc.h>|<stdlib.h>|g" $$f > $$f.patch \
+ && ${MV} $$f.patch $$f; \
+ done
+
pre-configure:
cd ${WRKSRC}; for file in \
config/NetAudio.def; \