Date: Mon, 04 May 2015 07:04:21 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 199913] USE_GITHUB + DISTVERSIONPREFIX != v fails to work Message-ID: <bug-199913-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: freebsd-ports-bugs@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199913-13>