Re: ports tree bootstrap using git

From: Jose Quinteiro <freebsd_at_quinteiro.org>
Date: Sun, 09 Apr 2023 16:53:17 UTC
Will the master branch of Git always build on Freebsd? There are some
patches in the port, though they seem to mainly deal with install paths
and the like. This one for configure.ac makes me wonder:

 # Define PERL_PATH to provide path to Perl.
-GIT_ARG_SET_PATH(perl)
+GIT_ARG_SET_PATH(perl, allow-without)

There's no Perl in base, right?

Thanks,
Jose

On 4/9/23 05:17, Warner Losh wrote:
> 
> 
> On Sun, Apr 9, 2023 at 5:43 AM Jonathan Reynolds
> <jreynolds1729@gmail.com <mailto:jreynolds1729@gmail.com>> wrote:
> 
>     I created a program that downloads the required files from
>     https://cgit.freebsd.org/ports/plain/
>     <https://cgit.freebsd.org/ports/plain/> to build and install
>     devel/git. It then uses the newly installed git to clone
>     the ports tree from https://git.freebsd.org/ports.git
>     <https://git.freebsd.org/ports.git>
> 
>     I opened a review at https://reviews.freebsd.org/D39472
>     <https://reviews.freebsd.org/D39472>
>     and seeking for reviewers.
> 
> 
> I've added comments there: tl;dr: why not download the sources for git
> and use
> that to bootstrap by building git and snagging the ports tree that way?
> It would
> be a lot simpler and more direct.
> 
> Warner