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
commit4d388fa15583fa19525256917a75a26a56da4aa3 (patch)
tree699ce60079aefb2601102e09e0191b16ac537b5a /audio
parentb62b15ffbb302f8b871cf0fe56ed5552c3ea3c23 (diff)
downloadpkgsrc-4d388fa15583fa19525256917a75a26a56da4aa3.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"