git: a868d766d8b0 - main - www/miniflux: Remove nop WANT_PGSQL=client
Tobias Kortkamp
tobik at FreeBSD.org
Sat May 1 18:34:06 UTC 2021
The branch main has been updated by tobik:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a868d766d8b0bc897568c93a1ba3dbeeed3b4519
commit a868d766d8b0bc897568c93a1ba3dbeeed3b4519
Author: Tobias Kortkamp <tobik at FreeBSD.org>
AuthorDate: 2021-04-30 16:20:47 +0000
Commit: Tobias Kortkamp <tobik at FreeBSD.org>
CommitDate: 2021-05-01 17:55:58 +0000
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)
---
www/miniflux/Makefile | 6 +++---
1 file 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 at 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/
More information about the dev-commits-ports-all
mailing list