summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2005-06-01 14:51:56 +0000
committermarkd <markd@pkgsrc.org>2005-06-01 14:51:56 +0000
commit20c42f20aa4b73869c56d89c496776bd59821608 (patch)
tree97dece92cff5d63b1f6191aa14b64df63882c307
parent2477fd485b811c38fa89eb3966d2cf344d3948fa (diff)
downloadpkgsrc-20c42f20aa4b73869c56d89c496776bd59821608.tar.gz
Switch USE_OSS to options framework.
-rw-r--r--multimedia/kdemultimedia3/Makefile12
1 files changed, 6 insertions, 6 deletions
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}