This also fixes an issue with jq --version not reporting the version.
While here, also pet portclippy/portfmt/portlint.
Reported by: Vedran Miletic <vedran@miletic.net>
Sponsored by: The FreeBSD Foundation
Differential D42758
textproc/jq: Use tarball published by upstream jrm on Nov 24 2023, 6:21 PM. Authored by Tags None Referenced Files
Subscribers
Details This also fixes an issue with jq --version not reporting the version. Reported by: Vedran Miletic <vedran@miletic.net>
Diff Detail
Event TimelineComment Actions I wonder why this port not uses "USE_GITHUB": https://docs.freebsd.org/en/books/porters-handbook/makefiles/#makefile-master_sites-github Comment Actions It was using USE_GITHUB, but I switched it to fix the issue with jq --version and also because of the warning at the top of that page you just shared. Comment Actions That's a "last resort" solution, use release tarballs/archives whenever possible. Usually when version information is missing it's because upstream's framework relies on Git to figure out what version is being built (this is usually adjusted in release archives in one way or another) and Git is usually not called in the correct path anyway so it fails or reports incorrectly. This isn't a framework bug rather a limitation of upstream's build script but since upstream now (as of 1.4) ships release tarballs which handles this issue there's nothing to fix. |