summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-21 21:40:43 +0000
committertv <tv@pkgsrc.org>2005-01-21 21:40:43 +0000
commitf1921c15cc96e568486c1e3b63926e906c643e40 (patch)
tree699ce60079aefb2601102e09e0191b16ac537b5a /audio
parent55dcb3cc070dfdfd4478cc9c59292d8271c8fb78 (diff)
downloadpkgsrc-f1921c15cc96e568486c1e3b63926e906c643e40.tar.gz
Interix has no ossaudio, so don't try to use it there.
Diffstat (limited to 'audio')
-rw-r--r--audio/nas/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index d6028964419..fb9c66f2396 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2004/12/29 17:12:13 fredb Exp $
+# $NetBSD: Makefile,v 1.50 2005/01/21 21:40:43 tv Exp $
DISTNAME= nas-1.7.src
PKGNAME= ${DISTNAME:S/.src//}
@@ -54,13 +54,18 @@ pre-configure:
${MV} -f $${file}.fixed $${file}; \
done
+.include "../../mk/bsd.prefs.mk"
+
PLIST_SRC= ${PKGDIR}/PLIST.clients
-.if (${MACHINE_ARCH} == "i386") || \
- (${MACHINE_ARCH} == "sparc")
-. include "../../mk/ossaudio.buildlink3.mk"
+
+.if ${OPSYS} != "Interix"
+. if (${MACHINE_ARCH} == "i386") || \
+ (${MACHINE_ARCH} == "sparc")
+. include "../../mk/ossaudio.buildlink3.mk"
EGDIR= ${PREFIX}/share/examples/nas
PLIST_SRC+= ${PKGDIR}/PLIST.voxware
CONF_FILES= ${EGDIR}/nasd.conf.eg ${PKG_SYSCONFDIR}/nasd.conf
+. endif
.endif
.include "../../mk/bsd.pkg.mk"