Date: Fri, 21 Jan 2022 02:17:05 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Diane Bruce <db@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-branches@freebsd.org Subject: Re: git: d97c53b5aeea - 2022Q1 - comms/gnuradio: Fix plist problem Message-ID: <YeoXoSUmKfXZREQ8@FreeBSD.org> In-Reply-To: <202201201706.20KH6EZf053438@gitrepo.freebsd.org> References: <202201201706.20KH6EZf053438@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 20, 2022 at 05:06:14PM +0000, Diane Bruce wrote: > commit d97c53b5aeea22203f554b1eb9807661436bb780 > > comms/gnuradio: Fix plist problem > > fix plist when PYTHON_VERSION != 3.8 > > @@ -82,7 +82,7 @@ OPTIONS_SUB= yes > UHD_DESC= Include UHD support from Ettus > TESTING_DESC= Include testing support > > -PLIST_SUB+= PORTVERSION=${PORTVERSION} > +PLIST_SUB+= PORTVERSION=${PORTVERSION} PORTMAINVER=${PORTVERSION:C|^([1-9]+)\.([0-9]+)\.([0-9]+).*|\1.\2.\3|} Why not simply PORTMAINVER=${PORTVERSION:R}? ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YeoXoSUmKfXZREQ8>