diff options
author | markd <markd@pkgsrc.org> | 2011-02-25 20:37:56 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2011-02-25 20:37:56 +0000 |
commit | a47a71a6a4086d549a2a0b43f76046f8e3c06204 (patch) | |
tree | b6b17e71dbb05ad57c51dcef88aa972e897edc36 /x11 | |
parent | 3aeb891f9f459caa232ee8c45260e9bd772e6027 (diff) | |
download | pkgsrc-a47a71a6a4086d549a2a0b43f76046f8e3c06204.tar.gz |
Add alsa option.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdebase-runtime4/options.mk | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/x11/kdebase-runtime4/options.mk b/x11/kdebase-runtime4/options.mk index 51ae062cc89..ebc1086ed67 100644 --- a/x11/kdebase-runtime4/options.mk +++ b/x11/kdebase-runtime4/options.mk @@ -1,14 +1,20 @@ -# $NetBSD: options.mk,v 1.1.1.1 2009/10/02 19:30:13 markd Exp $ +# $NetBSD: options.mk,v 1.2 2011/02/25 20:37:56 markd Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.kdebase-runtime4 -PKG_SUPPORTED_OPTIONS= samba +PKG_SUPPORTED_OPTIONS= samba alsa .include "../../mk/bsd.options.mk" PLIST_VARS+= smb .if !empty(PKG_OPTIONS:Msamba) .include "../../net/samba/buildlink3.mk" -CMAKE_ARGS+= -DSAMBA_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.samba}/include -CMAKE_ARGS+= -DSAMBA_LIBRARIES:FILEPATH=${BUILDLINK_PREFIX.samba}/lib/samba +#CMAKE_ARGS+= -DSAMBA_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.samba}/include +#CMAKE_ARGS+= -DSAMBA_LIBRARIES:FILEPATH=${BUILDLINK_PREFIX.samba}/lib/samba PLIST.smb= yes .endif + +.if !empty(PKG_OPTIONS:Malsa) +.include "../../audio/alsa-lib/buildlink3.mk" +.else +CMAKE_ARGS+= -DWITH_ALSA=OFF +.endif |