Update the comment that describes the relationship of PORTVERSION and

GCC_VERSION.
This commit is contained in:
Gerald Pfeifer 2015-04-19 22:07:22 +00:00
parent 4bc84c6dfe
commit c82b8f3dde
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384329

View file

@ -30,7 +30,7 @@ UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX}
# DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names
# of executables and directories once installed. A PORTVERSION of
# Y.2.s20140817 results in values of Y-20140817, Y.2.0, and Y
# Y.2.1.s20140817 results in values of Y-20140817, Y.2.1, and Y
# for these three.
DISTVERSION= ${PORTVERSION:C/([0-9]+).*\.s([0-9]+)/\1-\2/}
GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/}