USE_GITHUB doesn't touch PORTREVISION at all. What the author meant is

probably PORTVERSION. However, using DISTVERSION is more correct because
it also fixes unusual versioning (1.5-alpha, 1_2, etc).

PR:		199939
Submitted by:	jbeich
Reviewed by:	mat (aka "the author")
This commit is contained in:
Christian Brueffer 2015-06-29 14:06:56 +00:00
parent 9523d7395e
commit 46d4e696a0
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46890

View file

@ -1946,7 +1946,7 @@ GH_TAGNAME= 6dbb17b</programlisting>
<varname>DISTVERSIONPREFIX</varname></title>
<para>From time to time, <varname>GH_TAGNAME</varname> is a
slight variation from <varname>PORTREVISION</varname>.
slight variation from <varname>DISTVERSION</varname>.
For example, if the version is <literal>1.0.2</literal>,
the tag is <literal>v1.0.2</literal>. In those cases, it
is possible to use <varname>DISTVERSIONPREFIX</varname> or