pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/spamassassin Add option for security/gnupg21 supp...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ae8d9ee0f5c5
branches: trunk
changeset: 355981:ae8d9ee0f5c5
user: hans <hans%pkgsrc.org@localhost>
date: Fri Dec 16 15:47:35 2016 +0000
description:
Add option for security/gnupg21 support.
diffstat:
mail/spamassassin/options.mk | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 91a315220d1c -r ae8d9ee0f5c5 mail/spamassassin/options.mk
--- a/mail/spamassassin/options.mk Fri Dec 16 15:42:20 2016 +0000
+++ b/mail/spamassassin/options.mk Fri Dec 16 15:47:35 2016 +0000
@@ -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 @@
#
# 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
Home |
Main Index |
Thread Index |
Old Index