"Confused" PORTREVISION

Adam Weinberger adamw at adamw.org
Mon Dec 25 05:18:59 UTC 2017


> On 24 Dec, 2017, at 20:03, Walter Schwarzenfeld  
> <w.schwarzenfeld at utanet.at> wrote:
>
> But
>
> RUBY_RELVERSION=        2.3.6
> RUBY_PORTREVISION=      0     <=
> RUBY_PORTEPOCH=         1
> RUBY_PATCHLEVEL=        0
> RUBY23=                 ""      # PLIST_SUB helpers
>
> PORTREVISION=0 confuses pkg version
>
> pkg version |grep ruby23
> ruby23-2.3.6,1                   <
>
> this is the version which is installed.

PORTREVISION=0 is treated as if it were unset. Some people prefer using  
that construct because it keeps line numbers consistent in the SVN history.

# Adam


--
Adam Weinberger
adamw at adamw.org
http://www.adamw.org



More information about the freebsd-ports mailing list