summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormarkd <markd>2011-02-25 20:37:56 +0000
committermarkd <markd>2011-02-25 20:37:56 +0000
commitc110454da48c113e68a4732b00131b2065669a05 (patch)
treeb6b17e71dbb05ad57c51dcef88aa972e897edc36 /x11
parent27ce5a47b2ccaa14ae2cb44cadd498965e1d87bd (diff)
downloadpkgsrc-c110454da48c113e68a4732b00131b2065669a05.tar.gz
Add alsa option.
Diffstat (limited to 'x11')
-rw-r--r--x11/kdebase-runtime4/options.mk14
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