summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorgrant <grant>2004-05-15 09:18:55 +0000
committergrant <grant>2004-05-15 09:18:55 +0000
commit7f5c30f041e6138b7429bd37f12beb4aafcd74c0 (patch)
treeff3451e1af13c1d0c985332e97c825127e23e733 /audio
parent26254c6d9af8d27d295165dd1317519231963418 (diff)
downloadpkgsrc-7f5c30f041e6138b7429bd37f12beb4aafcd74c0.tar.gz
explicitly disable OSS support on all platforms except those which
have OSS support. the configure test gets it wrong and defaults to building the OSS module even when OSS support is not present.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms/Makefile.common10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/xmms/Makefile.common b/audio/xmms/Makefile.common
index 95471ed9d04..1a06f356b7a 100644
--- a/audio/xmms/Makefile.common
+++ b/audio/xmms/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.10 2004/05/12 18:50:21 drochner Exp $
+# $NetBSD: Makefile.common,v 1.11 2004/05/15 09:18:55 grant Exp $
#
DISTNAME= xmms-1.2.10
@@ -63,6 +63,14 @@ PLIST_SUBST+= LIBAUDIO=libSolaris
PLIST_SUBST+= LIBAUDIO=libOSS
.endif
+# the configure test for OSS is broken on Solaris and by default tries
+# to build the OSS module. explicitly turn it off for all platforms
+# except those which support OSS.
+.if ${OPSYS} != "FreeBSD" && ${OPSYS} != "Linux" && ${OPSYS} != "NetBSD" && \
+ ${OPSYS} != "OpenBSD"
+CONFIGURE_ARGS+= --disable-oss
+.endif
+
.include "../../audio/libmikmod/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"