USE_GITHUB=nodefault w/o github

Mathieu Arnold mat at freebsd.org
Wed May 27 12:39:06 UTC 2020


On Wed, May 27, 2020 at 03:28:52AM +0300, Sergei Vyhenski wrote:
> Hi,
> 
> Some ports (e.g.: www/nginx) are declaring
> USE_GITHUB=nodefault,
> while they seem to fetch none of its distfiles from github.
> 
> What is the idea behind this combination?

From https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfiles.html#makefile-master_sites-github-multiple :

	When fetching multiple files from GitHub, sometimes the default
	distribution file is not fetched from GitHub. To disable
	fetching the default distribution, set:

	USE_GITHUB=	nodefault

If you set USE_GITHUB=yes it means the software you are porting has no
distribution file and only a github repository from which you can get a
git-archive extract.  If the software actually does release distribution
files, but for some reason, you need to fetch something from github, you
use USE_GITHUB=nodefault.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200527/1f3d4b2b/attachment.sig>


More information about the freebsd-ports mailing list