1 |
calchan 09/06/20 03:36:44 |
2 |
|
3 |
Modified: ghdl-0.27.ebuild ChangeLog |
4 |
Log: |
5 |
Fixed bugs #248352, #273142 and #273252. |
6 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sci-electronics/ghdl/ghdl-0.27.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/ghdl/ghdl-0.27.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/ghdl/ghdl-0.27.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/ghdl/ghdl-0.27.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: ghdl-0.27.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ghdl-0.27.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- ghdl-0.27.ebuild 6 Jun 2009 17:07:53 -0000 1.1 |
22 |
+++ ghdl-0.27.ebuild 20 Jun 2009 03:36:43 -0000 1.2 |
23 |
@@ -1,12 +1,13 @@ |
24 |
# Copyright 1999-2009 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ghdl-0.27.ebuild,v 1.1 2009/06/06 17:07:53 calchan Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ghdl-0.27.ebuild,v 1.2 2009/06/20 03:36:43 calchan Exp $ |
28 |
|
29 |
EAPI="2" |
30 |
|
31 |
inherit multilib |
32 |
|
33 |
GCC_VERSION="4.2.4" |
34 |
+GNATGCC_SLOT="4.2" |
35 |
|
36 |
DESCRIPTION="Complete VHDL simulator using the GCC technology" |
37 |
HOMEPAGE="http://ghdl.free.fr" |
38 |
@@ -17,14 +18,21 @@ |
39 |
KEYWORDS="~amd64 ~ppc ~x86" |
40 |
IUSE="" |
41 |
DEPEND=">=sys-apps/portage-2.1.2.10 |
42 |
- >=dev-lang/gnat-gcc-4.2" |
43 |
+ dev-lang/gnat-gcc:${GNATGCC_SLOT}" |
44 |
RDEPEND="" |
45 |
S="${WORKDIR}/gcc-${GCC_VERSION}" |
46 |
|
47 |
+ADA_INCLUDE_PATH="${ROOT}/usr/lib/gnat-gcc/${CHOST}/${GNATGCC_SLOT}/adainclude" |
48 |
+ADA_OBJECTS_PATH="${ROOT}/usr/lib/gnat-gcc/${CHOST}/${GNATGCC_SLOT}/adalib" |
49 |
+GNATGCC_PATH="${ROOT}/usr/${CHOST}/gnat-gcc-bin/${GNATGCC_SLOT}:${ROOT}/usr/libexec/gnat-gcc/${CHOST}/${GNATGCC_SLOT}" |
50 |
+ |
51 |
src_prepare() { |
52 |
mv "${WORKDIR}/${P}"/vhdl gcc |
53 |
sed -i -e 's/ADAC = \$(CC)/ADAC = gnatgcc/' gcc/vhdl/Makefile.in || die "sed failed" |
54 |
- sed -i -e 's/AGCC_CFLAGS=-g/AGCC_CFLAGS=$(CFLAGS)/' gcc/vhdl/Make-lang.in || die "sed failed" |
55 |
+ sed -i \ |
56 |
+ -e 's/AGCC_CFLAGS=-g/AGCC_CFLAGS=$(CFLAGS)/' \ |
57 |
+ -e 's/rm -rf $(infodir)/rm -rf $(DESTDIR)$(infodir)/' \ |
58 |
+ gcc/vhdl/Make-lang.in || die "sed failed" |
59 |
|
60 |
# Fix issue similar to bug #195074, ported from vapier's fix for binutils |
61 |
sed -i -e "s:egrep.*texinfo.*dev/null:egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null:" \ |
62 |
@@ -44,15 +52,15 @@ |
63 |
} |
64 |
|
65 |
src_configure() { |
66 |
- econf --enable-languages=vhdl |
67 |
+ PATH="${GNATGCC_PATH}:${PATH}" econf --enable-languages=vhdl |
68 |
} |
69 |
|
70 |
src_compile() { |
71 |
- emake -j1 || die "Compilation failed" |
72 |
+ PATH="${GNATGCC_PATH}:${PATH}" emake -j1 || die "Compilation failed" |
73 |
} |
74 |
|
75 |
src_install() { |
76 |
- emake DESTDIR="${D}" install || die "Installation failed" |
77 |
+ PATH="${GNATGCC_PATH}:${PATH}" emake DESTDIR="${D}" install || die "Installation failed" |
78 |
|
79 |
cd "${D}"/usr/bin ; rm `ls --ignore=ghdl` |
80 |
rm -rf "${D}"/usr/include |
81 |
|
82 |
|
83 |
|
84 |
1.8 sci-electronics/ghdl/ChangeLog |
85 |
|
86 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/ghdl/ChangeLog?rev=1.8&view=markup |
87 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/ghdl/ChangeLog?rev=1.8&content-type=text/plain |
88 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/ghdl/ChangeLog?r1=1.7&r2=1.8 |
89 |
|
90 |
Index: ChangeLog |
91 |
=================================================================== |
92 |
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ChangeLog,v |
93 |
retrieving revision 1.7 |
94 |
retrieving revision 1.8 |
95 |
diff -u -r1.7 -r1.8 |
96 |
--- ChangeLog 6 Jun 2009 17:07:53 -0000 1.7 |
97 |
+++ ChangeLog 20 Jun 2009 03:36:43 -0000 1.8 |
98 |
@@ -1,6 +1,9 @@ |
99 |
# ChangeLog for sci-electronics/ghdl |
100 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
101 |
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ChangeLog,v 1.7 2009/06/06 17:07:53 calchan Exp $ |
102 |
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/ghdl/ChangeLog,v 1.8 2009/06/20 03:36:43 calchan Exp $ |
103 |
+ |
104 |
+ 20 Jun 2009; Denis Dupeyron <calchan@g.o> ghdl-0.27.ebuild: |
105 |
+ Fixed bugs #248352, #273142 and #273252. |
106 |
|
107 |
*ghdl-0.27 (06 Jun 2009) |