summaryrefslogtreecommitdiff
path: root/mail/spamassassin
diff options
context:
space:
mode:
authorhans <hans>2016-12-16 15:47:35 +0000
committerhans <hans>2016-12-16 15:47:35 +0000
commitc1eda3b05341e73483ecaab3ec826b98bb5d640d (patch)
tree0a184bda0b43e9402c48260539847a81d8935ef3 /mail/spamassassin
parent3951cd07b394ef327951b4c8304c6b0b9421ffae (diff)
downloadpkgsrc-c1eda3b05341e73483ecaab3ec826b98bb5d640d.tar.gz
Add option for security/gnupg21 support.
Diffstat (limited to 'mail/spamassassin')
-rw-r--r--mail/spamassassin/options.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/spamassassin/options.mk b/mail/spamassassin/options.mk
index c04b9d497b2..34c46037666 100644
--- a/mail/spamassassin/options.mk
+++ b/mail/spamassassin/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.11 2013/07/24 16:17:02 drochner Exp $
+# $NetBSD: options.mk,v 1.12 2016/12/16 15:47:35 hans Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.spamassassin
-PKG_SUPPORTED_OPTIONS= inet6 ssl gnupg2
+PKG_SUPPORTED_OPTIONS= inet6 ssl gnupg2 gnupg21
#
# Default options
@@ -53,7 +53,10 @@ DEPENDS+= p5-IO-Socket-INET6-[0-9]*:../../net/p5-IO-Socket-INET6
#
# use gnupg2 instead of gnupg1
#
-.if !empty(PKG_OPTIONS:Mgnupg2)
+.if !empty(PKG_OPTIONS:Mgnupg21)
+DEPENDS+= gnupg21-[0-9]*:../../security/gnupg21
+GPGPATH= ${LOCALBASE}/bin/gpg2
+.elif !empty(PKG_OPTIONS:Mgnupg2)
DEPENDS+= gnupg2-[0-9]*:../../security/gnupg2
GPGPATH= ${LOCALBASE}/bin/gpg2
.else