diff options
author | markd <markd> | 2011-02-25 20:37:56 +0000 |
---|---|---|
committer | markd <markd> | 2011-02-25 20:37:56 +0000 |
commit | c110454da48c113e68a4732b00131b2065669a05 (patch) | |
tree | b6b17e71dbb05ad57c51dcef88aa972e897edc36 /multimedia/kdemultimedia4 | |
parent | 27ce5a47b2ccaa14ae2cb44cadd498965e1d87bd (diff) | |
download | pkgsrc-c110454da48c113e68a4732b00131b2065669a05.tar.gz |
Add alsa option.
Diffstat (limited to 'multimedia/kdemultimedia4')
-rw-r--r-- | multimedia/kdemultimedia4/options.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/kdemultimedia4/options.mk b/multimedia/kdemultimedia4/options.mk index bbebc498692..10fd31c536b 100644 --- a/multimedia/kdemultimedia4/options.mk +++ b/multimedia/kdemultimedia4/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.1.1.1 2009/10/02 20:25:35 markd Exp $ +# $NetBSD: options.mk,v 1.2 2011/02/25 20:39:24 markd Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.kdemultimedia -PKG_SUPPORTED_OPTIONS= pulseaudio +PKG_SUPPORTED_OPTIONS= pulseaudio alsa PKG_SUGGESTED_OPTIONS= .include "../../mk/bsd.options.mk" @@ -11,3 +11,9 @@ PKG_SUGGESTED_OPTIONS= .else CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF .endif + +.if !empty(PKG_OPTIONS:Malsa) +.include "../../audio/alsa-lib/buildlink3.mk" +.else +CMAKE_ARGS+= -DWITH_ALSA:BOOL=OFF +.endif |