git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: perl should be optional like tcl

From
Jeff King <peff@peff.net>
Date
Mar 22, 2008, 17:10 UTC
Message-ID
<20080322171001.GC7611@coredump.intra.peff.net>
In-Reply-To
<d512a4f30803220644j1c74642fne709e27da792850@mail.gmail.com>
On Sat, Mar 22, 2008 at 02:44:06PM +0100, Sylvain Bertrand wrote:
> I'm a gentoo user and since a long time I have been able to disable
> the perl sweet thanks to the gentoo "-perl" use flag. Recently I
> realized that was not possible anymore (I have *tons* of perl
> dependencies pulled on my system because of this).

Sure, it is possible to do this, and most of git would still work. You would lose:

  - gitweb
  - interactive add ("git add -i")
  - send-email
  - CVS/SVN/arch integration (cvsimport, cvsserver, cvsexportcommit,
    svn, archimport)
  - git-relink (which I'm not sure is commonly used anyway)

The test scripts also use perl a bit, so you would lose the ability to run the tests.

The right way would probably be to add a NO_PERL flag to the Makefile to avoid building these programs. I'm not sure anyone else cares enough to spend time on this themselves, but you might try working up a patch.

-Peff
Previous: Sylvain Bertrand
Message 2 of 2 in “perl should be optional like tcl”
  1. Sylvain BertrandMar 22, 2008
  2. Jeff KingMar 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.