Can PORTVERSION be gYYYYMMDD ?
Yuri
yuri at freebsd.org
Tue Nov 28 08:43:57 UTC 2017
The port audio/ir-lv2 was committed with PORTVERSION=g20130909.
make in another port with this instruction:
> RUN_DEPENDS=ir-lv2>0:audio/ir-lv2
doesn't check the version of ir properly, and always tries to rebuild it.
Is PORTVERSION=gYYYYMMDD actually allowed?
The handbook doesn't mention such format. Section Example 5.9 here
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#makefile-distname-ex1
offers PORTVERSION=20160710 as an example.
If it's not allowed, why doesn't framework complain?
Otherwise, the version check for such ports must be fixed.
Thanks,
Yuri
More information about the freebsd-ports
mailing list