From 750fbf8378edf15b13fd5b99e49f6598fedca324 Mon Sep 17 00:00:00 2001 From: sborrill Date: Thu, 29 Oct 2009 12:32:44 +0000 Subject: Make guile support optional. Bump PKGREVISION --- x11/xbindkeys/Makefile | 7 ++++--- x11/xbindkeys/options.mk | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 x11/xbindkeys/options.mk 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 -- cgit v1.2.3