summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2013-04-28 03:18:17 +0000
committermarkd <markd@pkgsrc.org>2013-04-28 03:18:17 +0000
commitfb229de76ecd7091a4c272b933b74fa4c65f2f28 (patch)
tree3974e617fec6c24f319e98a44b8c953c4b594698 /x11
parentac7c28273ef9107845daeff8ff15fcc8c70de1f0 (diff)
downloadpkgsrc-fb229de76ecd7091a4c272b933b74fa4c65f2f28.tar.gz
Don't enable alsa option by default except on Linux.
Bump PKGREVISION.
Diffstat (limited to 'x11')
-rw-r--r--x11/kde-runtime4/Makefile5
-rw-r--r--x11/kde-runtime4/options.mk8
2 files changed, 9 insertions, 4 deletions
diff --git a/x11/kde-runtime4/Makefile b/x11/kde-runtime4/Makefile
index 443ac9c0c61..f960cfab49f 100644
--- a/x11/kde-runtime4/Makefile
+++ b/x11/kde-runtime4/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2013/04/13 23:05:36 markd Exp $
+# $NetBSD: Makefile,v 1.21 2013/04/28 03:18:17 markd Exp $
DISTNAME= kde-runtime-${_KDE_VERSION}
PKGNAME= ${DISTNAME:S/-4/4-4/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11
COMMENT= Runtime requirements for the KDE integrated X11 desktop
@@ -19,6 +19,7 @@ DEPENDS+= oxygen-icons-[0-9]*:../../graphics/oxygen-icons
USE_TOOLS+= gmake
+.include "../../mk/bsd.prefs.mk"
.include "options.mk"
# Some files are conditional on 'md5sum' or 'md5' being present.
diff --git a/x11/kde-runtime4/options.mk b/x11/kde-runtime4/options.mk
index 5b29716a26a..0eb72a3cbea 100644
--- a/x11/kde-runtime4/options.mk
+++ b/x11/kde-runtime4/options.mk
@@ -1,8 +1,12 @@
-# $NetBSD: options.mk,v 1.2 2012/03/25 20:11:28 markd Exp $
+# $NetBSD: options.mk,v 1.3 2013/04/28 03:18:18 markd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.kde-runtime4
PKG_SUPPORTED_OPTIONS= samba alsa
-PKG_SUGGESTED_OPTIONS= samba alsa
+PKG_SUGGESTED_OPTIONS= samba
+
+.if ${OPSYS} == "Linux"
+PKG_SUGGESTED_OPTIONS+= alsa
+.endif
.include "../../mk/bsd.options.mk"