[Bug 199913] USE_GITHUB + DISTVERSIONPREFIX != v fails to work
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 4 07:04:21 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199913
Bug ID: 199913
Summary: USE_GITHUB + DISTVERSIONPREFIX != v fails to work
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Ports Framework
Assignee: portmgr at FreeBSD.org
Reporter: jbeich at FreeBSD.org
CC: freebsd-ports-bugs at FreeBSD.org
Created attachment 156320
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156320&action=edit
workaround
Porter's Handbook, Example 5.3. Use of USE_GITHUB with DISTVERSIONPREFIX
describes how to use them together with no mention "v" is the only value that
actually works. For one, I've tried to convert games/openra to such style
PORTVERSION= 20141029
+DISTVERSIONPREFIX=release-
...
-GH_TAGNAME= release-${PORTVERSION}
-GH_COMMIT= e5948ba
which appears to produce correct GH_TAGNAME and distinfo but the build fails
with
===> Applying FreeBSD patches for openra-20141029_2
patch: **** can't cd to
/home/holo/.cache/a/overlay/ports/games/openra/work/OpenRA-20141029: No such
file or directory
because WRKSRC doesn't take into account DISTVERSIONPREFIX
$ make -V WRKSRC:T
OpenRA-20141029
$ make -V DISTNAME
OpenRA-OpenRA-release-20141029_GH0
$ ls $(make -V WRKDIR)
OpenRA-release-20141029
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list