Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2017 22:18:50 -0700
From:      Adam Weinberger <adamw@adamw.org>
To:        Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: "Confused" PORTREVISION
Message-ID:  <59143D35-B810-4670-8F78-C8D7F0CF91B6@adamw.org>
In-Reply-To: <2abbc227-f2da-69e0-1d0d-1b872bbc475f@utanet.at>
References:  <42ac3597-f82a-ef8d-0d8d-f6a7c5a84d46@utanet.at> <2abbc227-f2da-69e0-1d0d-1b872bbc475f@utanet.at>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 24 Dec, 2017, at 20:03, Walter Schwarzenfeld  
> <w.schwarzenfeld@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@adamw.org
http://www.adamw.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59143D35-B810-4670-8F78-C8D7F0CF91B6>