1 |
xmw 10/08/30 22:22:02 |
2 |
|
3 |
Modified: ChangeLog shc-3.8.3.ebuild |
4 |
Log: |
5 |
Respect LDFLAGS, do not strip by intall -s, fixes bug 335333 |
6 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.16 dev-util/shc/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shc/ChangeLog?rev=1.16&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shc/ChangeLog?rev=1.16&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shc/ChangeLog?r1=1.15&r2=1.16 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/shc/ChangeLog,v |
18 |
retrieving revision 1.15 |
19 |
retrieving revision 1.16 |
20 |
diff -u -r1.15 -r1.16 |
21 |
--- ChangeLog 23 Sep 2009 17:48:34 -0000 1.15 |
22 |
+++ ChangeLog 30 Aug 2010 22:22:02 -0000 1.16 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for dev-util/shc |
25 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/shc/ChangeLog,v 1.15 2009/09/23 17:48:34 patrick Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/shc/ChangeLog,v 1.16 2010/08/30 22:22:02 xmw Exp $ |
29 |
+ |
30 |
+ 30 Aug 2010; Michael Weber (xmw) <xmw@g.o> shc-3.8.3.ebuild: |
31 |
+ Respect LDFLAGS, do not strip by intall -s, fixes bug 335333 |
32 |
|
33 |
23 Sep 2009; Patrick Lauer <patrick@g.o> shc-3.6.ebuild, |
34 |
shc-3.7.ebuild: |
35 |
|
36 |
|
37 |
|
38 |
1.2 dev-util/shc/shc-3.8.3.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shc/shc-3.8.3.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shc/shc-3.8.3.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/shc/shc-3.8.3.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: shc-3.8.3.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/shc/shc-3.8.3.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- shc-3.8.3.ebuild 19 Feb 2006 03:35:02 -0000 1.1 |
51 |
+++ shc-3.8.3.ebuild 30 Aug 2010 22:22:02 -0000 1.2 |
52 |
@@ -1,6 +1,8 @@ |
53 |
-# Copyright 1999-2006 Gentoo Foundation |
54 |
+# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/shc/shc-3.8.3.ebuild,v 1.1 2006/02/19 03:35:02 vanquirius Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/shc/shc-3.8.3.ebuild,v 1.2 2010/08/30 22:22:02 xmw Exp $ |
58 |
+ |
59 |
+EAPI=2 |
60 |
|
61 |
inherit toolchain-funcs |
62 |
|
63 |
@@ -13,16 +15,25 @@ |
64 |
KEYWORDS="~alpha ~ppc ~sparc ~x86" |
65 |
IUSE="" |
66 |
|
67 |
+RESTRICT="test" |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ # respect LDFLAGS |
71 |
+ sed -i -e 's:$(CC) $(CFLAGS):\0 $(LDFLAGS):' Makefile || die |
72 |
+ # do not strip by install -s |
73 |
+ sed -i -e '/install/s: -s : :' Makefile || die |
74 |
+} |
75 |
+ |
76 |
src_compile() { |
77 |
export CC="$(tc-getCC)" |
78 |
|
79 |
## the "test"-target leads to an access-violation -> so we skip it |
80 |
## as it's only for demonstration purposes anyway. |
81 |
- make shc || die |
82 |
+ emake shc CFLAGS="${CFLAGS}" || die |
83 |
} |
84 |
|
85 |
src_install() { |
86 |
- dobin shc |
87 |
- doman shc.1 |
88 |
- dodoc shc.README CHANGES |
89 |
+ dobin shc || die |
90 |
+ doman shc.1 || die |
91 |
+ dodoc shc.README CHANGES || die |
92 |
} |