pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/kdemultimedia3 Switch USE_OSS to options fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56e6ab2e09b3
branches:  trunk
changeset: 495000:56e6ab2e09b3
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Jun 01 14:51:56 2005 +0000

description:
Switch USE_OSS to options framework.

diffstat:

 multimedia/kdemultimedia3/Makefile |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 5c69c8041d66 -r 56e6ab2e09b3 multimedia/kdemultimedia3/Makefile
--- a/multimedia/kdemultimedia3/Makefile        Wed Jun 01 14:47:54 2005 +0000
+++ b/multimedia/kdemultimedia3/Makefile        Wed Jun 01 14:51:56 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2005/04/19 11:00:18 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2005/06/01 14:51:56 markd Exp $
 
 DISTNAME=      kdemultimedia-${_KDE_VERSION}
 CATEGORIES=    multimedia
@@ -21,16 +21,12 @@
 BUILDLINK_DEPENDS.xine-lib=    xine-lib>=1rc0anb1
 .endif
 
-.if defined(USE_OSS)
-CONFIGURE_ARGS+=       --enable-audio=oss
-.endif
-
 CONFIGURE_ARGS+=       --enable-cdparanoia
 CONFIGURE_ARGS+=       --with-cdparanoia=${BUILDLINK_PREFIX.cdparanoia}
 CONFIGURE_ARGS+=       --with-vorbis=${BUILDLINK_PREFIX.libvorbis}
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.kdemultimedia
-PKG_SUPPORTED_OPTIONS= gstreamer
+PKG_SUPPORTED_OPTIONS= gstreamer oss
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mgstreamer)
@@ -38,6 +34,10 @@
 .include "../../multimedia/gst-plugins/buildlink3.mk"
 .endif
 
+.if !empty(PKG_OPTIONS:Moss)
+CONFIGURE_ARGS+=       --enable-audio=oss
+.endif
+
 # Ensure we export symbols in the linked shared object.
 LDFLAGS+=              ${EXPORT_SYMBOLS_LDFLAGS}
 



Home | Main Index | Thread Index | Old Index