Switch USE_OSS to options framework.
This commit is contained in:
parent
2477fd485b
commit
20c42f20aa
1 changed files with 6 additions and 6 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue