Created attachment 237549 [details] Patch for xyce Compile tested on FreeBSD 13.1-STABLE
Daniel, Why this change? Doesn't the porter's handbook call to use tarballs when they are provided? Yuri
I guess the handbook isn't as detailed as it could be regarding this topic. It does indeed promote using a tarball as long as it's static. This isn't clear as all uses of GitHub involves on the fly unless upstream attaches a static tarball to a release. A 3D cube icon and a proper file name listed in ~99% of all cases is a static one while the "zip-file" like icons and "Source code" titled ones are generated on the fly. Example: https://github.com/hydrogen-music/hydrogen/releases/tag/1.1.1 I'm suggesting this change to make the tree consistent, USE_GITHUB will use generated on the fly tarballs however all ports will use the same method which also makes maintenance easier. A quick comparison (not 100% accurate but close enough) grep -ir MASTER_SITES --include Makefile /usr/ports/ | grep github | grep /archive/ | wc -l 16 grep -ir USE_GITHUB --include Makefile /usr/ports/ | wc -l 5476 Best regards, Daniel
(In reply to Daniel Engberg from comment #2) Auto-generated tarballs usually have the same name as tag. In the Xyce case the tarball is not auto-generated. So I don't see why this should be changed in this port.
Adding relevant URL.
Not according to https://github.com/orgs/community/discussions/32478 https://github.com/bazelbuild/bazel/issues/15128 --> https://github.com/bazel-contrib/SIG-rules-authors/issues/11 . I'd take the claim of "guaranteed to be stable" very cautiously
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd3990624fc391e902bd19252927cfbfabf8776f commit bd3990624fc391e902bd19252927cfbfabf8776f Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2022-10-30 16:57:37 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-10-30 16:57:37 +0000 cad/xyce: Use USE_GITHUB PR: 267286 cad/xyce/Makefile | 8 ++++---- cad/xyce/distinfo | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-)