package version scheme

Mathieu Arnold mat at FreeBSD.org
Tue Sep 1 22:51:54 UTC 2015



+--On 1 septembre 2015 14:08:09 -0700 Xin Li <delphij at delphij.net> wrote:
| Hi,
| 
| I hit a conflict between pkg behavior and the Porters' handbook, it
| confused me.
| 
| In this example:
| 
| https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefi
| le-distfiles.html#idp59327440
| 
| The handbook suggested that the right PORTVERSION should be 0.7.1.d if
| DISTVERSION is 0.7.1d.
| 
| However, pkg version -t 0.7.1 0.7.1.d gives me >, suggesting that 0.7.1
| -> 0.7.1.d would be considered as a downgrade.

Yes, it is.

You should set:

PORTVERSION= 0.7.1d

# pkg version -t 0.7.1 0.7.1d
<

(please, try to not cc portmgr and external lists.)
-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150902/9cca3fcb/attachment.bin>


More information about the freebsd-ports mailing list