Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F138513819
D42562.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
765 B
Referenced Files
None
Subscribers
None
D42562.diff
View Options
diff --git a/Makefile.inc1 b/Makefile.inc1
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -547,9 +547,11 @@
MAJOR_REVISION= ${_REVISION:R}
.if !defined(PKG_VERSION)
+_PKG_REVISION= ${_REVISION}
_STRTIMENOW= %Y%m%d%H%M%S
_TIMENOW= ${_STRTIMENOW:gmtime}
.if ${_BRANCH:MCURRENT*} || ${_BRANCH:MSTABLE*} || ${_BRANCH:MPRERELEASE*}
+_PKG_REVISION= ${MAJOR_REVISION}
EXTRA_REVISION= .snap${_TIMENOW}
.elif ${_BRANCH:MALPHA*}
EXTRA_REVISION= .a${_BRANCH:C/ALPHA([0-9]+).*/\1/}.${_TIMENOW}
@@ -560,7 +562,7 @@
.elif ${_BRANCH:M*-p*}
EXTRA_REVISION= p${_BRANCH:C/.*-p([0-9]+$)/\1/}
.endif
-PKG_VERSION:= ${MAJOR_REVISION}${EXTRA_REVISION:C/[[:space:]]//g}
+PKG_VERSION:= ${_PKG_REVISION}${EXTRA_REVISION:C/[[:space:]]//g}
.endif
.endif # !defined(PKG_VERSION)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 3, 8:00 PM (3 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26548644
Default Alt Text
D42562.diff (765 B)
Attached To
Mode
D42562: pkgbase: use <major>.<minor> format for alpha, beta and release package versions
Attached
Detach File
Event Timeline
Log In to Comment