[Bug 206840] x11-fm/doublecmd: Update to 0.7R6569, Fix build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 2 15:33:57 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206840
Kubilay Kocak <koobs at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-patch
--- Comment #3 from Kubilay Kocak <koobs at FreeBSD.org> ---
(In reply to Beñat Gonzalez Etxepare from comment #2)
You're welcome Beñat
Basically DISTVERSION can be used to convert incompatible version strings into
PORTVERSION compatible ones. That is to say, setting DISTVERSION
*automatically* calculates a PORTVERSION value.
See Table 5.2 in
https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfiles.html
In this case,
DISTVERSION=0.7R6569 make -V PORTVERSION
results in:
PORTVERSION = 0.7.r6569
Testing this value:
pkg version -t 0.7.r6569 0.7.0
<
^--- good (0.7.r6569 is less than future 0.7.0 (true))
Whereas:
pkg version -t 0.7R6569 0.7.0
>
^--- not good (0.7R6569 is greater than future 0.7.0 (false))
So you see why we need to use DISTVERSION, otherwise PORTEPOCH will be needed
in the future.
Since we'll be setting DISTVERSION, you may also need to override DISTFILES in
order to derive the correct distribution file filename.
Hope that helps explain things :)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list