diff options
author | tron <tron@pkgsrc.org> | 2019-04-25 14:55:03 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2019-04-25 14:55:03 +0000 |
commit | 2388ca8f2eb48c609257f0aa5bb7de14555a5b0b (patch) | |
tree | 9081653c1482c0a4084b925efb9ad4c66189de72 /security/openssh/options.mk | |
parent | 8b58fbef336fd36e08419f9bf8a3021602e8b9b9 (diff) | |
download | pkgsrc-2388ca8f2eb48c609257f0aa5bb7de14555a5b0b.tar.gz |
openssh: Add optional command line editing to "sftp"
Add new package option "editline" (enabled by default) which adds
command line editing and filename completion to the "sftp" client.
Bump the package revision because of this change.
Diffstat (limited to 'security/openssh/options.mk')
-rw-r--r-- | security/openssh/options.mk | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/security/openssh/options.mk b/security/openssh/options.mk index 940447d7fcd..6e941d6b5bb 100644 --- a/security/openssh/options.mk +++ b/security/openssh/options.mk @@ -1,10 +1,10 @@ -# $NetBSD: options.mk,v 1.35 2017/07/24 16:33:22 he Exp $ - -.include "../../mk/bsd.prefs.mk" +# $NetBSD: options.mk,v 1.36 2019/04/25 14:55:04 tron Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.openssh -PKG_SUPPORTED_OPTIONS= kerberos openssl pam -PKG_SUGGESTED_OPTIONS= openssl +PKG_SUPPORTED_OPTIONS= editline kerberos openssl pam +PKG_SUGGESTED_OPTIONS= editline openssl + +.include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "NetBSD" PKG_SUGGESTED_OPTIONS+= pam @@ -44,3 +44,8 @@ MESSAGE_SUBST+= EGDIR=${EGDIR} PLIST.pam= yes . endif .endif + +.if !empty(PKG_OPTIONS:Meditline) +.include "../../devel/editline/buildlink3.mk" +CONFIGURE_ARGS+= --with-libedit=${BUILDLINK_PREFIX.editline} +.endif |