pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56208: [PATCH] profanity: add gpgme option (enabled by default)



>Number:         56208
>Category:       pkg
>Synopsis:       [PATCH] profanity: add gpgme option (enabled by default)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue May 25 09:40:00 +0000 2021
>Originator:     Paul W. Rankin
>Release:        trunk - Tue May 25 07:29:41 2021 +0000
>Organization:
>Environment:
Darwin nostromo.local 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 30 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64 x86_64

>Description:
>From 52914f9caee036fdea68a5227b6fb69801d16509 Mon Sep 17 00:00:00 2001
From: "Paul W. Rankin" <pwr%bydasein.com@localhost>
Date: Tue, 25 May 2021 19:25:19 +1000
Subject: [PATCH] profanity: add gpgme option (enabled by default)

---
 chat/profanity/Makefile   | 3 +--
 chat/profanity/options.mk | 9 +++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/chat/profanity/Makefile b/chat/profanity/Makefile
index 75c72b775..6e6848beb 100644
--- a/chat/profanity/Makefile
+++ b/chat/profanity/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.10 2021/04/21 13:24:27 adam Exp $
 
 DISTNAME=	profanity-0.9.5
-PKGREVISION=	6
+PKGREVISION=	7
 CATEGORIES=	chat
 MASTER_SITES=	https://profanity-im.github.io/
 
@@ -51,7 +51,6 @@ BUILDLINK_API_DEPENDS.sqlite3+=		sqlite3>=3.22.0
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/libuuid/buildlink3.mk"
 .include "../../devel/readline/buildlink3.mk"
-.include "../../security/gpgme/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../lang/python/application.mk"
diff --git a/chat/profanity/options.mk b/chat/profanity/options.mk
index c52906c26..c66a9a51c 100644
--- a/chat/profanity/options.mk
+++ b/chat/profanity/options.mk
@@ -1,8 +1,8 @@
 # $NetBSD: options.mk,v 1.1 2021/01/14 12:50:25 nia Exp $
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.profanity
-PKG_SUPPORTED_OPTIONS=	libnotify gtk2 xscrnsaver
-PKG_SUGGESTED_OPTIONS=
+PKG_SUPPORTED_OPTIONS=	libnotify gtk2 xscrnsaver gpgme
+PKG_SUGGESTED_OPTIONS=	gpgme
 
 .include "../../mk/bsd.options.mk"
 
@@ -21,3 +21,8 @@ CONFIGURE_ARGS+=	--enable-notifications
 .if !empty(PKG_OPTIONS:Mxscrnsaver)
 .include "../../x11/libXScrnSaver/buildlink3.mk"
 .endif
+
+# gpgme
+.if !empty(PKG_OPTIONS:Mgpgme)
+.include "../../security/gpgme/buildlink3.mk"
+.endif
-- 
2.30.2

>How-To-Repeat:

>Fix:


Home | Main Index | Thread Index | Old Index