From 37f7a57509a1a955450404f8fb3165c7ab3924f9 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Fri, 30 Apr 2021 18:20:47 +0200 Subject: www/miniflux: Remove nop WANT_PGSQL=client In 8f75e04cb888e86484843db9dca00e739e346e19 the pgsql dependency was dropped intentionally but WANT_PGSQL was left in place but it has no effect now. Fix the PGSQL_SERVER option by adding the required USES=pgsql for WANT_PGSQL. While here also fix opt_VARS usage. Unlike opt_USE it does not support separating words with , Reported by: portscan (WANT_PGSQL without USES=pgsql) (cherry picked from commit a868d766d8b0bc897568c93a1ba3dbeeed3b4519) --- www/miniflux/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'www') diff --git a/www/miniflux/Makefile b/www/miniflux/Makefile index 430e90a3f14f..a015cba2da04 100644 --- a/www/miniflux/Makefile +++ b/www/miniflux/Makefile @@ -1,6 +1,7 @@ PORTNAME= miniflux DISTVERSION= 2.0.29 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= krion@FreeBSD.org @@ -13,8 +14,6 @@ RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss USES= go:modules -WANT_PGSQL= client - USE_GITHUB= yes GH_PROJECT= v2 GH_TUPLE= PuerkitoBio:goquery:v1.6.1:puerkitobio_goquery/vendor/github.com/PuerkitoBio/goquery \ @@ -60,7 +59,8 @@ GROUPS= miniflux OPTIONS_DEFINE= PGSQL_SERVER PGSQL_SERVER_DESC= Install the PostgreSQL Server Component -PGSQL_SERVER_VARS= WANT_PGSQL=server,contrib +PGSQL_SERVER_USES= pgsql +PGSQL_SERVER_VARS= WANT_PGSQL+="server contrib" post-install: ${INSTALL_MAN} ${WRKSRC}/miniflux.1 ${STAGEDIR}${PREFIX}/man/man1/ -- cgit v1.2.3