1 |
george 08/07/06 13:00:54 |
2 |
|
3 |
Modified: gnatbuild.eclass |
4 |
Log: |
5 |
made --enable-libada conditional on PN, as ACT's gnat does not like it |
6 |
|
7 |
Revision Changes Path |
8 |
1.40 eclass/gnatbuild.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?rev=1.40&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?rev=1.40&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnatbuild.eclass?r1=1.39&r2=1.40 |
13 |
|
14 |
Index: gnatbuild.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v |
17 |
retrieving revision 1.39 |
18 |
retrieving revision 1.40 |
19 |
diff -u -r1.39 -r1.40 |
20 |
--- gnatbuild.eclass 14 Apr 2008 14:54:21 -0000 1.39 |
21 |
+++ gnatbuild.eclass 6 Jul 2008 13:00:53 -0000 1.40 |
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.39 2008/04/14 14:54:21 george Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.40 2008/07/06 13:00:53 george Exp $ |
27 |
# |
28 |
# Author: George Shapovalov <george@g.o> |
29 |
# Belongs to: ada herd <ada@g.o> |
30 |
@@ -457,6 +457,12 @@ |
31 |
--disable-werror \ |
32 |
--disable-libunwind-exceptions" |
33 |
|
34 |
+ # ACT's gnat-gpl does not line libada for whatever reason.. |
35 |
+ if ${PN} == ${PN_GnatGpl}; then |
36 |
+ confgcc="${confgcc} --disable-libada" |
37 |
+ else |
38 |
+ confgcc="${confgcc} --enable-libada" |
39 |
+ fi |
40 |
# einfo "confgcc=${confgcc}" |
41 |
|
42 |
cd "${GNATBUILD}" |
43 |
@@ -471,7 +477,6 @@ |
44 |
--infodir=${DATAPATH}/info \ |
45 |
--program-prefix=gnat \ |
46 |
--enable-languages="c,ada" \ |
47 |
- --enable-libada \ |
48 |
--with-gcc \ |
49 |
--enable-threads=posix \ |
50 |
--enable-shared \ |
51 |
|
52 |
|
53 |
|
54 |
-- |
55 |
gentoo-commits@l.g.o mailing list |