diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2017-04-11 15:54:31 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2017-04-11 15:54:31 +0000 |
commit | e1f10ba6fff84fc7b3b876b40925e5e53ab72d79 (patch) | |
tree | 9f08ea0237db154c40d6c8c01493887269199cca /Mk | |
parent | 8ac6073e2d2dcbe381c472a17bcc8400ce65a693 (diff) | |
download | ports-e1f10ba6fff84fc7b3b876b40925e5e53ab72d79.tar.gz ports-e1f10ba6fff84fc7b3b876b40925e5e53ab72d79.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 2f6d1f806bcb..50135f7ffadf 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1298,7 +1298,7 @@ IGNORE= PORTVERSION ${PORTVERSION} may not contain '-' '_' or ',' .if defined(DISTVERSION) DEV_ERROR+= "Defining both PORTVERSION and DISTVERSION is wrong, only set one, if necessary, set DISTNAME" .endif -DISTVERSION= ${PORTVERSION:S/:/::/g} +DISTVERSION?= ${PORTVERSION:S/:/::/g} .elif defined(DISTVERSION) PORTVERSION= ${DISTVERSION:tl:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g} .endif |