diff options
author | sborrill <sborrill> | 2009-10-29 12:32:44 +0000 |
---|---|---|
committer | sborrill <sborrill> | 2009-10-29 12:32:44 +0000 |
commit | 711576618d95aefe42a0ae56c0e50e05eb1b0b76 (patch) | |
tree | 504bd79d0de323e9e67eb94919fd7fc50891eded /x11/xbindkeys | |
parent | 1873a78bac68825ce5ef8cce6b41bb2f08d4f7b4 (diff) | |
download | pkgsrc-711576618d95aefe42a0ae56c0e50e05eb1b0b76.tar.gz |
Make guile support optional.
Bump PKGREVISION
Diffstat (limited to 'x11/xbindkeys')
-rw-r--r-- | x11/xbindkeys/Makefile | 7 | ||||
-rw-r--r-- | x11/xbindkeys/options.mk | 14 |
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 |