diff options
author | grant <grant@pkgsrc.org> | 2004-05-15 09:18:55 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-05-15 09:18:55 +0000 |
commit | c54ed9b259ecdfe7b8de7df054fbe0eca07a155b (patch) | |
tree | ff3451e1af13c1d0c985332e97c825127e23e733 /audio/xmms | |
parent | c984eea8adef18238984239bb9bcb7853af435ef (diff) | |
download | pkgsrc-c54ed9b259ecdfe7b8de7df054fbe0eca07a155b.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/xmms')
-rw-r--r-- | audio/xmms/Makefile.common | 10 |
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" |