Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Oct 2022 12:43:32 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   DISTVERSION without DISTVERSIONPREFIX
Message-ID:  <CAP7rwcjDGkdY1DPzDKyDx5yH5EzBxTJv3eYaOG%2Bt0OTNrK9=3Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0000000000006e735f05ea9e6c7c
Content-Type: text/plain; charset="UTF-8"

I've always been confused on this. Many, many ports set
DISTVERSIONPREFIX=v, but very few ports set DISTVERSION=v1.2.3

/usr/ports $ rg 'DISTVERSION=\s*v'
      7
/usr/ports $ rg 'DISTVERSIONPREFIX=\s*v$'
  2748

Can DISTVERSION just be v1.2.3, or is there a reason that we need
DISTVERSION=1.2.3 + DISTVERSIONPREFIX=v?

# Adam


-- 
Adam Weinberger
adamw@adamw.org
https://www.adamw.org

--0000000000006e735f05ea9e6c7c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,sa=
ns-serif">I&#39;ve always been confused on this. Many, many ports set DISTV=
ERSIONPREFIX=3Dv, but very few ports set DISTVERSION=3Dv1.2.3</div><div cla=
ss=3D"gmail_default" style=3D"font-family:arial,sans-serif"><br></div><div =
class=3D"gmail_default" style=3D"font-family:arial,sans-serif">/usr/ports $=
 rg &#39;DISTVERSION=3D\s*v&#39;</div><div class=3D"gmail_default" style=3D=
"font-family:arial,sans-serif">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 7</div><div c=
lass=3D"gmail_default" style=3D"font-family:arial,sans-serif">/usr/ports $ =
rg &#39;DISTVERSIONPREFIX=3D\s*v$&#39;</div><div class=3D"gmail_default" st=
yle=3D"font-family:arial,sans-serif">=C2=A0 2748</div><div class=3D"gmail_d=
efault" style=3D"font-family:arial,sans-serif"><br></div><div class=3D"gmai=
l_default" style=3D"font-family:arial,sans-serif">Can DISTVERSION just be v=
1.2.3, or is there a reason that we need DISTVERSION=3D1.2.3 + DISTVERSIONP=
REFIX=3Dv?</div><div class=3D"gmail_default" style=3D"font-family:arial,san=
s-serif"><br></div><div class=3D"gmail_default" style=3D"font-family:arial,=
sans-serif"># Adam</div><div class=3D"gmail_default" style=3D"font-family:a=
rial,sans-serif"><br></div><br>-- <br><div dir=3D"ltr" class=3D"gmail_signa=
ture" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"=
ltr"><div>Adam Weinberger</div><div><a href=3D"mailto:adamw@adamw.org" targ=
et=3D"_blank">adamw@adamw.org</a></div><div><a href=3D"https://www.adamw.or=
g" target=3D"_blank">https://www.adamw.org</a></div></div></div></div></div=
></div>

--0000000000006e735f05ea9e6c7c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwcjDGkdY1DPzDKyDx5yH5EzBxTJv3eYaOG%2Bt0OTNrK9=3Q>