Removing git dependencies on perl5 and python27

Michael Gmelin freebsd at grem.de
Fri Jun 15 10:21:02 UTC 2018


Hm, seems like you're right, which is good news for me, I always built
it without perl until this commit:

r396048 | garga | 2015-09-04 00:00:03 +0200 (Fri, 04 Sep 2015) | 5 lines

- Update to 2.5.1
- Fix build with NO_PERL set backporting a commit from git repo
  (82aec45)
- Add git-submodile, git-am and git-request-pull to the list of commands
  that doesn't work without perl

@@ -86,7 +86,7 @@
        mv $@+ $@
  else # NO_PERL
 -$(SCRIPT_PERL_GEN) git-instaweb: % : unimplemented.sh
-+$(SCRIPT_PERL_GEN) git-instaweb git-submodule git-am
git-request-pull: % : unimplemented.sh ++$(SCRIPT_PERL_GEN)
git-instaweb git-submodule git-request-pull: % : unimplemented.sh


Seems like it was removed again here:

r416890 | garga | 2016-06-14 16:52:40 +0200 (Tue, 14 Jun 2016) | 4 lines

Update devel/git to 2.9.0

@@ -88,7 +38,7 @@
        mv $@+ $@
  else # NO_PERL
 -$(SCRIPT_PERL_GEN) git-instaweb: % : unimplemented.sh
-+$(SCRIPT_PERL_GEN) git-instaweb git-submodule git-request-pull: % :
unimplemented.sh ++$(SCRIPT_PERL_GEN) git-instaweb git-request-pull:
% : unimplemented.sh

Thanks,
Michael


On Fri, 15 Jun 2018 03:10:37 -0500
Mahmoud Al-Qudsi <mqudsi at neosmart.net> wrote:

> On Fri, Jun 15, 2018 at 2:57 AM, Michael Gmelin <freebsd at grem.de>
> wrote:
> > Last time I checked, building git without Perl broke submodules
> > (which is a core feature that should work with a default
> > installation).  
> 
> I fully agree. Fortunately, (at least at a first glance) that does not
> seem to be the case.
> 
> I just built and installed git from source on a clean FreeBSD 12
> install:
> 
> ```
> mqudsi at freebsd12:/easyre % mkdir test
> mqudsi at freebsd12:/easyre % cd test
> mqudsi at freebsd12:/easyre/test % git init .
> Initialized empty Git repository in /easyre/test/.git/
> mqudsi at freebsd12:/easyre/test % git submodule add
> https://github.com/neosmart/pkg-graph
> Cloning into '/easyre/test/pkg-graph'...
> remote: Counting objects: 41, done.
> remote: Compressing objects: 100% (27/27), done.
> remote: Total 41 (delta 16), reused 38 (delta 13), pack-reused 0
> Unpacking objects: 100% (41/41), done.
> mqudsi at freebsd12:/easyre/test % perl
> perl: Command not found.
> mqudsi at freebsd12:/easyre/test % perl5
> perl5: Command not found.
> mqudsi at freebsd12:/easyre/test % fd '^perl$' /
> /easyre/git/perl
> /easyre/git/t/t4034/perl
> mqudsi at freebsd12:/easyre/test % git --version
> git version 2.18.0.rc2.dirty
> mqudsi at freebsd12:/easyre/test %
> ```
> 
> Mahmoud Al-Qudsi
> NeoSmart Technologies



-- 
Michael Gmelin


More information about the freebsd-ports mailing list