diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2012-05-04 19:07:46 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2012-05-04 19:07:46 +0800 |
commit | dd460d373b9cb2906bcd9d08058a167e2da69504 (patch) | |
tree | a18e08cfb47684fe87e7a7fe6d9ca9500f8efa15 /security | |
parent | 23c3d265da5a9386a06e5337df37ea4d51f1621d (diff) | |
download | freebsd-ports-gnome-dd460d373b9cb2906bcd9d08058a167e2da69504.tar.gz freebsd-ports-gnome-dd460d373b9cb2906bcd9d08058a167e2da69504.tar.zst freebsd-ports-gnome-dd460d373b9cb2906bcd9d08058a167e2da69504.zip |
- Add optional dependency on security/pinentry port.
I'd like to keep this port (and package built on pointyhat) having
simple dependencies. So this knob is off by default.
PR: ports/156287, ports/164333
Submitted by: Joseph Olatt <joji@eskimo.com>, Oliver Herold <oh@fixmbr.de>
Diffstat (limited to 'security')
-rw-r--r-- | security/gnupg/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile index 85b07f94ada4..e89fe5b8f5fb 100644 --- a/security/gnupg/Makefile +++ b/security/gnupg/Makefile @@ -42,7 +42,8 @@ MAN8= addgnupghome.8 applygnupgdefaults.8 INFO= gnupg .endif -OPTIONS= LDAP "LDAP keyserver interface" off \ +OPTIONS= PINENTRY "Use pinentry" off \ + LDAP "LDAP keyserver interface" off \ SCDAEMON "Enable Smartcard daemon (with libusb)" off \ CURL "Use the real curl library (worked around if no)" on \ GPGSM "Enable GPGSM (requires LDAP)" off \ @@ -52,11 +53,15 @@ OPTIONS= LDAP "LDAP keyserver interface" off \ .include <bsd.port.pre.mk> +.if defined(WITH_PINENTRY) +RUN_DEPENDS+= pinentry>0:${PORTSDIR}/security/pinentry +.endif + .if defined(WITHOUT_GPGSM) CONFIGURE_ARGS+=--disable-gpgsm PLIST_SUB+= GPGSM="@comment " .else -RUN_DEPENDS= dirmngr:${PORTSDIR}/security/dirmngr +RUN_DEPENDS+= dirmngr:${PORTSDIR}/security/dirmngr WITH_LDAP= YES .undef WITHOUT_LDAP PLIST_SUB+= GPGSM="" |