Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149214799
D19664.1789687854.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
598 B
Referenced Files
None
Subscribers
None
D19664.1789687854.diff
View Options
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -1325,7 +1325,12 @@
.endif
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}
+.if defined(USE_GITHUB)
+_DISTVERSION= ${DISTVERSION:C/(.*)-([0-9]+)$/\1-m\2/}
+.else
+_DISTVERSION= ${DISTVERSION}
+.endif
+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
PORTREVISION?= 0
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 17, 11:30 PM (10 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29741881
Default Alt Text
D19664.1789687854.diff (598 B)
Attached To
Mode
D19664: Make GitHub sub-versions (revisions) be reflected in PORTVERSION
Attached
Detach File
Event Timeline
Log In to Comment