pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/nas Interix has no ossaudio, so don't try to use...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d83e817b168c
branches:  trunk
changeset: 487909:d83e817b168c
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Jan 21 21:40:43 2005 +0000

description:
Interix has no ossaudio, so don't try to use it there.

diffstat:

 audio/nas/Makefile |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 61b41ead0ca6 -r d83e817b168c audio/nas/Makefile
--- a/audio/nas/Makefile        Fri Jan 21 21:17:05 2005 +0000
+++ b/audio/nas/Makefile        Fri Jan 21 21:40:43 2005 +0000
@@ -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 @@
                ${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"



Home | Main Index | Thread Index | Old Index