aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-04-11 15:54:31 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-04-11 15:54:31 +0000
commite1f10ba6fff84fc7b3b876b40925e5e53ab72d79 (patch)
tree9f08ea0237db154c40d6c8c01493887269199cca /Mk
parent8ac6073e2d2dcbe381c472a17bcc8400ce65a693 (diff)
downloadports-e1f10ba6fff84fc7b3b876b40925e5e53ab72d79.tar.gz
ports-e1f10ba6fff84fc7b3b876b40925e5e53ab72d79.zip
Mmm, some parts of the ports tree are doing strange things.
Pointy hat: mat Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=438275
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
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