From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/makepp/files: makepp-2.0-destdir.patch |
Date: | Sun, 01 Jul 2012 18:52:59 |
Message-Id: | 20120701185249.DA1162004B@flycatcher.gentoo.org |
1 | vapier 12/07/01 18:52:49 |
2 | |
3 | Added: makepp-2.0-destdir.patch |
4 | Log: |
5 | Fix destdir installs #424237 by PetaMem R&D. |
6 | |
7 | (Portage version: 2.2.0_alpha112/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-util/makepp/files/makepp-2.0-destdir.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/makepp/files/makepp-2.0-destdir.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/makepp/files/makepp-2.0-destdir.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: makepp-2.0-destdir.patch |
16 | =================================================================== |
17 | don't break install paths when DESTDIR is set |
18 | |
19 | --- a/install.pl |
20 | +++ b/install.pl |
21 | @@ -131,7 +131,7 @@ |
22 | |
23 | if( $destdir ) { |
24 | for( $bindir, $datadir, $mandir, $htmldir_val ) { |
25 | - s/$prefix/$destdir/o if defined; |
26 | + s/^/$destdir/o if defined; |
27 | } |
28 | } |