Make PKG_VERSION aware of '-ALPHA*'.

Submitted by:	Ben Woods
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
gjb 2016-05-27 20:33:14 +00:00
parent 8c75e897c0
commit 166d39f413

View File

@ -300,7 +300,7 @@ VERSION= FreeBSD ${_REVISION}-${_BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDA
.endif
.if !defined(PKG_VERSION)
.if ${_BRANCH:MSTABLE*} || ${_BRANCH:MCURRENT*}
.if ${_BRANCH:MSTABLE*} || ${_BRANCH:MCURRENT*} || ${_BRANCH:MALPHA*}
TIMENOW= %Y%m%d%H%M%S
EXTRA_REVISION= .s${TIMENOW:gmtime}
.endif