Gentoo Archives: gentoo-commits

From: "George Shapovalov (george)" <george@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: gnatbuild.eclass
Date: Tue, 03 Feb 2009 13:58:56
Message-Id: E1LULni-0005p3-6Z@stork.gentoo.org
1 george 09/02/03 13:58:54
2
3 Modified: gnatbuild.eclass
4 Log:
5 fixing $(DESTDIR) omission in Make-lang.in (#252611)
6
7 Revision Changes Path
8 1.46 eclass/gnatbuild.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?rev=1.46&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?rev=1.46&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?r1=1.45&r2=1.46
13
14 Index: gnatbuild.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v
17 retrieving revision 1.45
18 retrieving revision 1.46
19 diff -u -r1.45 -r1.46
20 --- gnatbuild.eclass 8 Dec 2008 13:29:19 -0000 1.45
21 +++ gnatbuild.eclass 3 Feb 2009 13:58:54 -0000 1.46
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2006 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.45 2008/12/08 13:29:19 george Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.46 2009/02/03 13:58:54 george Exp $
27 #
28 # Author: George Shapovalov <george@g.o>
29 # Belongs to: ada herd <ada@g.o>
30 @@ -385,6 +385,11 @@
31 epatch "${FILESDIR}"/gnat-Make-lang.in.patch
32 fi
33
34 + # gcc sources as of 4.3 seem to have a common omission of $(DESTDIR),
35 + # that leads to make install trying to rm -f file on live system.
36 + # As we do not need this rm, we simply remove the whole line
37 + sed -i -e "/\$(RM) \$(bindir)/d" "${S}"/gcc/ada/Make-lang.in
38 +
39 mkdir -p "${GNATBUILD}"
40 ;;