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

Re: [PATCH] Don't cache DESTDIR in perl/perl.mak.

From
Pierre Habouzit <madcoder@debian.org>
Date
Dec 12, 2007, 20:02 UTC
Message-ID
<20071212200211.GB1060@artemis.madism.org>
In-Reply-To
<20071212180050.GA18980@untitled>
On Wed, Dec 12, 2007 at 06:01:48PM +0000, Eric Wong wrote:
Show 22 quoted lines
> Junio C Hamano <gitster@pobox.com> wrote:
> > Hmph.  That's reverting this:
> > 
> > commit 4c5cf8c44ce06a79da5bafd4a92e6d6f598cea2e
> > Author: Eric Wong <normalperson@yhbt.net>
> > Date:   Sun Aug 13 04:13:25 2006 -0700
> > 
> >     pass DESTDIR to the generated perl/Makefile
> >     
> >     Makes life for binary packagers easier, as the Perl modules will
> >     be installed inside DESTDIR.
> >     
> >     Signed-off-by: Eric Wong <normalperson@yhbt.net>
> >     Signed-off-by: Junio C Hamano <junkio@cox.net>
> > 
> > Eric, care to comment?
> 
> I used to make a statically linked binary package for working on an
> ancient box that didn't have a lot of libraries I wanted, and I probably
> just called `make install' into DESTDIR as a single step without calling
> `make' alone without DESTDIR argument, or I had DESTDIR set in
> config.mak
  Actually this fact generated a bug in debian packaging because git is
built then installed twice in different DESTDIRS, then parts of the
install is pruned (the two installs are arch-dependant and
arch-independant files install so it's a very good reason in term of
packaging).
  The fact that perl.mak caches the DESTDIR make it install things in
the wrong place because it doesn't honour make DESTDIR=foo install and
always use the cached value instead, which is wrong.
  I think Gerrit won't care if it's cached or not, he just cares that it
still honours environment if present.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Eric WongNext: Gerrit Pape
Message 4 of 5 in “Don't cache DESTDIR in perl/perl.mak.”
  1. Don't cache DESTDIR in perl/perl.mak.Gerrit Pape, Dec 10, 2007
  2. Junio C HamanoDec 10, 2007
  3. Eric WongDec 12, 2007
  4. Pierre HabouzitDec 12, 2007
  5. Gerrit PapeDec 18, 2007

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.