NetBSD Problem Report #56208

From www@netbsd.org  Tue May 25 09:36:10 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2354C1A9275
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 25 May 2021 09:36:10 +0000 (UTC)
Message-Id: <20210525093608.884361A92A2@mollari.NetBSD.org>
Date: Tue, 25 May 2021 09:36:08 +0000 (UTC)
From: pwr@bydasein.com
Reply-To: pwr@bydasein.com
To: gnats-bugs@NetBSD.org
Subject: [PATCH] profanity: add gpgme option (enabled by default)
X-Send-Pr-Version: www-1.0

>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>
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:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.