git: 37def7ff2393 - main - net/gorss: unbreak at runtime
Date: Mon, 21 Aug 2023 07:10:11 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=37def7ff23936620696f025d19737036a7eba029 commit 37def7ff23936620696f025d19737036a7eba029 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2023-08-17 08:03:46 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-08-21 07:09:57 +0000 net/gorss: unbreak at runtime gorss needs infocmp which is provided by ncurses. In FreeBSD < 14, we need to get it from ports. --- net/gorss/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net/gorss/Makefile b/net/gorss/Makefile index b11952ec96c4..38f7b886f0c6 100644 --- a/net/gorss/Makefile +++ b/net/gorss/Makefile @@ -1,7 +1,8 @@ PORTNAME= gorss PORTVERSION= 0.3 DISTVERSIONPREFIX= v -PORTREVISION= 13 +PORTREVISION= 1 +PORTREVISION= 14 CATEGORIES= net www MAINTAINER= ports@FreeBSD.org @@ -15,6 +16,12 @@ USES= go:modules USE_GITHUB= yes GH_ACCOUNT= Lallassu +.include <bsd.port.options.mk> + +.if (${OPSYS} == FreeBSD && ( ${OSVERSION} < 1400000)) +USES+= ncurses:port +.endif + .include "${.CURDIR}/Makefile.deps" GO_BUILDFLAGS= -ldflags "-w -X github.com/${GH_ACCOUNT}/${GH_PROJECT}/internal.Version=${PORTVERSION}"