diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2021-04-30 16:20:47 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2021-05-10 06:43:03 +0000 |
commit | 37f7a57509a1a955450404f8fb3165c7ab3924f9 (patch) | |
tree | 2744a322229e91d51220f673a21983f5ea8b9fa8 /www | |
parent | 34b5c30cd549c70614acfb33b7bec766ae386ab7 (diff) | |
download | ports-37f7a57509a1a955450404f8fb3165c7ab3924f9.tar.gz ports-37f7a57509a1a955450404f8fb3165c7ab3924f9.zip |
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)
Diffstat (limited to 'www')
-rw-r--r-- | www/miniflux/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
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/ |