pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/xmms explicitly disable OSS support on all platf...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/93ced3442e28
branches:  trunk
changeset: 475366:93ced3442e28
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat May 15 09:18:55 2004 +0000

description:
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:

 audio/xmms/Makefile.common |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 5384532d5637 -r 93ced3442e28 audio/xmms/Makefile.common
--- a/audio/xmms/Makefile.common        Sat May 15 08:43:09 2004 +0000
+++ b/audio/xmms/Makefile.common        Sat May 15 09:18:55 2004 +0000
@@ -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=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"



Home | Main Index | Thread Index | Old Index