summaryrefslogtreecommitdiff
path: root/audio/esound
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-10-11 18:02:59 +0000
committertv <tv@pkgsrc.org>2004-10-11 18:02:59 +0000
commit471e9747c2ac6de309b7d5567c28cda5339cc5d3 (patch)
tree0b8259796073edf2258226e49b45ba54421fe234 /audio/esound
parent102bd9105351116c808a9f4d2fd30b9e81c0464a (diff)
downloadpkgsrc-471e9747c2ac6de309b7d5567c28cda5339cc5d3.tar.gz
Allow this to build on Interix in client-only mode.
Diffstat (limited to 'audio/esound')
-rw-r--r--audio/esound/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/audio/esound/Makefile b/audio/esound/Makefile
index 03db196fb45..35941c0335c 100644
--- a/audio/esound/Makefile
+++ b/audio/esound/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2004/10/03 00:13:05 tv Exp $
+# $NetBSD: Makefile,v 1.54 2004/10/11 18:02:59 tv Exp $
DISTNAME= esound-0.2.35
PKGREVISION= 1
@@ -19,7 +19,6 @@ PKGCONFIG_OVERRIDE= esound.pc.in
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-MAKE_ENV+= AM_CPPFLAGS='-DDEV_DSP=\"${DEVOSSAUDIO}\"'
BUILD_DEFS+= USE_INET6
@@ -34,11 +33,18 @@ CONFIGURE_ARGS+= --enable-ipv6
CONFIGURE_ARGS+= --disable-ipv6
.endif
+.if ${OPSYS} == "Interix"
+# no sound output device, but can support a remote esound server
+CONFIGURE_ARGS+= --disable-local-sound
+.else
+.include "../../mk/ossaudio.buildlink3.mk"
+MAKE_ENV+= AM_CPPFLAGS='-DDEV_DSP=\"${DEVOSSAUDIO}\"'
SUBST_CLASSES= oss
SUBST_STAGE.oss= post-patch
SUBST_FILES.oss= configure
SUBST_SED.oss= -e 's,-lossaudio,${LIBOSSAUDIO},g'
SUBST_MESSAGE.oss= "Fixing oss."
+.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/esound
@@ -46,6 +52,4 @@ post-install:
${PAX} -rw -pp -pm . ${PREFIX}/share/doc/html/esound
.include "../../audio/libaudiofile/buildlink3.mk"
-.include "../../mk/ossaudio.buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"