Re: git: 37def7ff2393 - main - net/gorss: unbreak at runtime

From: Fernando_Apesteguía <fernape_at_freebsd.org>
Date: Mon, 21 Aug 2023 07:39:46 UTC
On Mon, Aug 21, 2023 at 9:29 AM Nuno Teixeira <eduardo@freebsd.org> wrote:

> Hello Fernando!
>
> typo:
> -PORTREVISION=  13
> +PORTREVISION=  1
> +PORTREVISION=  14
>
> Thanks for fix! I've tried this program some time ago but I didn't get
> what's wrong with it.
> I could also updated it. It seems that there is an PR for 0.4.
>

Should be fixed now. Thanks for the heads up.

I'm working on that PR too.

Cheers.


>
> Thanks!
>
>
>
> Fernando Apesteguía <fernape@freebsd.org> escreveu no dia segunda,
> 21/08/2023 à(s) 08:10:
>
>> 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}
>> <http://github.com/$%7BGH_ACCOUNT%7D/$%7BGH_PROJECT%7D/internal.Version=$%7BPORTVERSION%7D>
>> "
>>
>
>
> --
> Nuno Teixeira
> FreeBSD Committer (ports)
>