summaryrefslogtreecommitdiff
path: root/x11/xbindkeys
diff options
context:
space:
mode:
authorsborrill <sborrill>2009-10-29 12:32:44 +0000
committersborrill <sborrill>2009-10-29 12:32:44 +0000
commit711576618d95aefe42a0ae56c0e50e05eb1b0b76 (patch)
tree504bd79d0de323e9e67eb94919fd7fc50891eded /x11/xbindkeys
parent1873a78bac68825ce5ef8cce6b41bb2f08d4f7b4 (diff)
downloadpkgsrc-711576618d95aefe42a0ae56c0e50e05eb1b0b76.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