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 | 3df127b351a0e050068e23cb09e305a9fc88720f (patch) | |
tree | b6b17e71dbb05ad57c51dcef88aa972e897edc36 /x11/kdebase-runtime4 | |
parent | 129d8aa3af1bf79df4c3aa1189974f4611bf11ad (diff) | |
download | pkgsrc-3df127b351a0e050068e23cb09e305a9fc88720f.tar.gz |
Add alsa option.
Diffstat (limited to 'x11/kdebase-runtime4')
-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 |