pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xbindkeys Make guile support optional.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3e5061675b90
branches: trunk
changeset: 566722:3e5061675b90
user: sborrill <sborrill%pkgsrc.org@localhost>
date: Thu Oct 29 12:32:44 2009 +0000
description:
Make guile support optional.
Bump PKGREVISION
diffstat:
x11/xbindkeys/Makefile | 7 ++++---
x11/xbindkeys/options.mk | 14 ++++++++++++++
2 files changed, 18 insertions(+), 3 deletions(-)
diffs (41 lines):
diff -r 8f9b59f4646d -r 3e5061675b90 x11/xbindkeys/Makefile
--- a/x11/xbindkeys/Makefile Thu Oct 29 12:07:39 2009 +0000
+++ b/x11/xbindkeys/Makefile Thu Oct 29 12:32:44 2009 +0000
@@ -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 -r 8f9b59f4646d -r 3e5061675b90 x11/xbindkeys/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xbindkeys/options.mk Thu Oct 29 12:32:44 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index