summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2012-06-08 12:50:33 +0000
committerfhajny <fhajny@pkgsrc.org>2012-06-08 12:50:33 +0000
commit9d7e58d64e5e3179ae9661cf436dc88def010f72 (patch)
tree12f272314b96da84a2446aa2b69004ad4ebc8334 /security
parent1fa4418d4bfded0ead8abed69136a0bce577eee0 (diff)
downloadpkgsrc-9d7e58d64e5e3179ae9661cf436dc88def010f72.tar.gz
Add readline support
Diffstat (limited to 'security')
-rw-r--r--security/gnupg/options.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/security/gnupg/options.mk b/security/gnupg/options.mk
index baa09ed9ccb..e5725bc6053 100644
--- a/security/gnupg/options.mk
+++ b/security/gnupg/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.14 2012/01/20 17:07:38 drochner Exp $
+# $NetBSD: options.mk,v 1.15 2012/06/08 12:50:33 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnupg
-PKG_SUPPORTED_OPTIONS= curl idea ldap
+PKG_SUPPORTED_OPTIONS= curl idea ldap readline
.include "../../mk/bsd.prefs.mk"
@@ -51,3 +51,11 @@ CONFIGURE_ARGS+= --disable-ldap
CONFIGURE_ENV+= M68060=${M68060:Q}
CFLAGS+= -m68060
.endif
+
+.if !empty(PKG_OPTIONS:Mreadline)
+USE_GNU_READLINE= yes
+.include "../../devel/readline/buildlink3.mk"
+CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
+.else
+CONFIGURE_ARGS+= --without-readline
+.endif