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: Wed, 10 Oct 2007 18:27:47
Message-Id: E1Ifg86-0000SO-TD@stork.gentoo.org
1 george 07/10/10 18:17:58
2
3 Modified: gnatbuild.eclass
4 Log:
5 fixed src_install issue, no longer relies on portage leaking env vars between functions
6
7 Revision Changes Path
8 1.34 eclass/gnatbuild.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?rev=1.34&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?rev=1.34&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?r1=1.33&r2=1.34
13
14 Index: gnatbuild.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v
17 retrieving revision 1.33
18 retrieving revision 1.34
19 diff -u -r1.33 -r1.34
20 --- gnatbuild.eclass 5 Sep 2007 14:11:00 -0000 1.33
21 +++ gnatbuild.eclass 10 Oct 2007 18:17:58 -0000 1.34
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.33 2007/09/05 14:11:00 george Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.34 2007/10/10 18:17:58 george Exp $
27 #
28 # Author: George Shapovalov <george@g.o>
29 # Belongs to: ada herd <ada@g.o>
30 @@ -513,6 +513,21 @@
31 case $1 in
32 install) # runs provided make install
33 debug-print-section install
34 +
35 + # Looks like we need an access to the bootstrap compiler here too
36 + # as gnat apparently wants to compile something during the installation
37 + # The spotted obuser was xgnatugn, used to process gnat_ugn_urw.texi,
38 + # during prepping the documentation.
39 + export PATH="${GNATBOOT}/bin:${PATH}"
40 + GNATLIB="${GNATBOOT}/lib/gnatgcc/${BOOT_TARGET}/${BOOT_SLOT}"
41 +
42 + export CC="${GNATBOOT}/bin/gnatgcc"
43 + export INCLUDE_DIR="${GNATLIB}/include"
44 + export LIB_DIR="${GNATLIB}"
45 + export LDFLAGS="-L${GNATLIB}"
46 + export ADA_OBJECTS_PATH="${GNATLIB}/adalib"
47 + export ADA_INCLUDE_PATH="${GNATLIB}/adainclude"
48 +
49 # Do not allow symlinks in /usr/lib/gcc/${CHOST}/${MY_PV}/include as
50 # this can break the build.
51 for x in "${GNATBUILD}"/gcc/include/* ; do
52
53
54
55 --
56 gentoo-commits@g.o mailing list