summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-04-30 18:20:47 +0200
committerTobias Kortkamp <tobik@FreeBSD.org>2021-05-01 19:55:58 +0200
commita868d766d8b0bc897568c93a1ba3dbeeed3b4519 (patch)
tree28d58bfc69418f2cf6d899d3aec02d7114228d9f
parentnet-mgmt/virt-viewer: Add missing USES=perl5 and unbreak (diff)
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)
-rw-r--r--www/miniflux/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/miniflux/Makefile b/www/miniflux/Makefile
index cc15c4b2ddb6..1b945d6ed95d 100644
--- a/www/miniflux/Makefile
+++ b/www/miniflux/Makefile
@@ -1,5 +1,6 @@
PORTNAME= miniflux
DISTVERSION= 2.0.29
+PORTREVISION= 1
CATEGORIES= www
MAINTAINER= krion@FreeBSD.org
@@ -12,8 +13,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 \
@@ -59,7 +58,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/