Make PKG_VERSION aware of '-ALPHA*'.

Submitted by:	Ben Woods
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2016-05-27 20:33:14 +00:00
parent 9c395f96b8
commit 5929ee2961

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