Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2023 10:29:54 +0200
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        Jan Beich <jbeich@freebsd.org>
Cc:        Po-Chuan Hsieh <sunpoet@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 616e8c13a4ce - main - devel/utf8cpp: Update to 3.2.4
Message-ID:  <4a06ad33002ef078bcdb53029568e09e@FreeBSD.org>
In-Reply-To: <3740bc927d27be9617ea40809a7a91fd@pyret.net>
References:  <202308161944.37GJifUD062454@gitrepo.freebsd.org> <5be35ca3e7ac2390fdbce2e4792223b5@pyret.net> <ttsv-cxut-wny@FreeBSD.org> <3740bc927d27be9617ea40809a7a91fd@pyret.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2023-08-19 09:40, Daniel Engberg wrote:
> On 2023-08-19 09:09, Jan Beich wrote:
>> Daniel Engberg <daniel.engberg.lists@pyret.net> writes:
>> 
>>> On 2023-08-16 21:44, Po-Chuan Hsieh wrote:
>>>> --- a/devel/utf8cpp/Makefile
>>>> +++ b/devel/utf8cpp/Makefile
>>>> @@ -1,9 +1,9 @@
>>>>  PORTNAME=	utf8cpp
>>>> +PORTVERSION=	3.2.4
>>>>  DISTVERSIONPREFIX=	v
>>>> -DISTVERSION=	3.2.3
>> [...]
>>> Can you please revert you changes so the port don't deviate from
>>> Porters Handbook?
>>> https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github
>>> - Example 16
>> 
>> Did you overquote the whole commit just for DISTVERSION vs. 
>> PORTVERSION ?
>> Neither portlint nor portclippy warn about mixing PORTVERSION with
>> DISTVERSIONPREFIX.
>> 
>>>> @@ -11,20 +11,14 @@ LICENSE=	BSL
>>>>  LICENSE_FILE=	${WRKSRC}/LICENSE
>>>>  USES=		cmake
>>>> -USE_GITHUB=	yes
>>>> -GH_ACCOUNT=	nemtrif
>>>> -GH_PROJECT=	utfcpp
>>>> +
>>>> +CMAKE_ON=	UTF8_INSTALL
>>>> +CMAKE_OFF=	UTF8_SAMPLES UTF8_TESTS
>>>>  NO_ARCH=	yes
>>>> -PLIST_FILES=	include/utf8cpp/utf8.h \
>>>> -		include/utf8cpp/utf8/checked.h \
>>>> -		include/utf8cpp/utf8/core.h \
>>>> -		include/utf8cpp/utf8/cpp11.h \
>>>> -		include/utf8cpp/utf8/cpp17.h \
>>>> -		include/utf8cpp/utf8/unchecked.h \
>>>> -		lib/cmake/utf8cpp/utf8cppConfig.cmake \
>>>> -		lib/cmake/utf8cpp/utf8cppConfigVersion.cmake \
>>>> -		lib/cmake/utf8cpp/utf8cppTargets.cmake
>>>> +USE_GITHUB=	yes
>>>> +GH_ACCOUNT=	nemtrif
>>>> +GH_PROJECT=	utfcpp
>> 
>> Another style regression: out of order USE_GITHUB group of variables.
>> https://docs.freebsd.org/en/books/porters-handbook/order/#porting-order-uses
>> Noticed via portclippy from ports-mgmt/portfmt.
> 
> 
> ...and ordering indeed
> 
> DISTVERSIONPREFIX after DISTVERSION,
> USE_GITUB - Example 19,20 etc
> 
> Just as you noted
> 
> Best regards,
> Daniel

Friendly ping

Best regards,
Daniel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4a06ad33002ef078bcdb53029568e09e>