summaryrefslogtreecommitdiff
path: root/x11/xbindkeys
diff options
context:
space:
mode:
authorsborrill <sborrill@pkgsrc.org>2009-10-29 12:32:44 +0000
committersborrill <sborrill@pkgsrc.org>2009-10-29 12:32:44 +0000
commite2676b507a11163540a9bb6f263f203a5c7fc518 (patch)
tree504bd79d0de323e9e67eb94919fd7fc50891eded /x11/xbindkeys
parent783913daeded51db8d5ded522d8831d537da930a (diff)
downloadpkgsrc-e2676b507a11163540a9bb6f263f203a5c7fc518.tar.gz
Make guile support optional.
Bump PKGREVISION
Diffstat (limited to 'x11/xbindkeys')
-rw-r--r--x11/xbindkeys/Makefile7
-rw-r--r--x11/xbindkeys/options.mk14
2 files changed, 18 insertions, 3 deletions
diff --git a/x11/xbindkeys/Makefile b/x11/xbindkeys/Makefile
index 004a820f812..545823f165e 100644
--- a/x11/xbindkeys/Makefile
+++ b/x11/xbindkeys/Makefile
@@ -1,15 +1,16 @@
-# $NetBSD: Makefile,v 1.15 2009/05/20 00:58:30 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2009/10/29 12:32:44 sborrill Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
-PKGREVISION= 1
+PKGREVISION= 2
CONFIGURE_ARGS+= --disable-tk
PTHREAD_AUTO_VARS= yes
-.include "../../lang/guile/buildlink3.mk"
+.include "options.mk"
+
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xbindkeys/options.mk b/x11/xbindkeys/options.mk
new file mode 100644
index 00000000000..d4e37d828e1
--- /dev/null
+++ b/x11/xbindkeys/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2009/10/29 12:32:44 sborrill Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xbindkeys
+PKG_SUPPORTED_OPTIONS= guile
+PKG_SUGGESTED_OPTIONS+= guile
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mguile)
+CONFIGURE_ARGS+= --enable-guile
+.include "../../lang/guile/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-guile
+.endif