From 20c42f20aa4b73869c56d89c496776bd59821608 Mon Sep 17 00:00:00 2001 From: markd Date: Wed, 1 Jun 2005 14:51:56 +0000 Subject: Switch USE_OSS to options framework. --- multimedia/kdemultimedia3/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'multimedia/kdemultimedia3') diff --git a/multimedia/kdemultimedia3/Makefile b/multimedia/kdemultimedia3/Makefile index c56db4c25f6..a48a5c54997 100644 --- a/multimedia/kdemultimedia3/Makefile +++ b/multimedia/kdemultimedia3/Makefile @@ -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 @@ CONF_FILES+= ${PREFIX}/share/examples/kdemultimedia3/applications-merged/kde-mu 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 @@ PKG_SUPPORTED_OPTIONS= gstreamer .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} -- cgit v1.2.3