Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/pth: ChangeLog pth-2.0.7-r3.ebuild
Date: Wed, 11 Jan 2012 11:03:33
Message-Id: 20120111110318.2EA802004B@flycatcher.gentoo.org
1 scarabeus 12/01/11 11:03:18
2
3 Modified: ChangeLog pth-2.0.7-r3.ebuild
4 Log:
5 Bump to eapi4 and make static libs optional.
6
7 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.70 dev-libs/pth/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/pth/ChangeLog?rev=1.70&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/pth/ChangeLog?rev=1.70&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/pth/ChangeLog?r1=1.69&r2=1.70
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/pth/ChangeLog,v
19 retrieving revision 1.69
20 retrieving revision 1.70
21 diff -u -r1.69 -r1.70
22 --- ChangeLog 23 Jun 2011 14:44:10 -0000 1.69
23 +++ ChangeLog 11 Jan 2012 11:03:18 -0000 1.70
24 @@ -1,6 +1,9 @@
25 # ChangeLog for dev-libs/pth
26 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/ChangeLog,v 1.69 2011/06/23 14:44:10 hwoarang Exp $
28 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/ChangeLog,v 1.70 2012/01/11 11:03:18 scarabeus Exp $
30 +
31 + 11 Jan 2012; Tomáš Chvátal <scarabeus@g.o> pth-2.0.7-r3.ebuild:
32 + Bump to eapi4 and make static libs optional.
33
34 23 Jun 2011; Markos Chandras <hwoarang@g.o> -pth-2.0.7-r2.ebuild:
35 Remove old ebuilds. Requested by Arfrever
36
37
38
39 1.6 dev-libs/pth/pth-2.0.7-r3.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild?rev=1.6&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild?rev=1.6&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild?r1=1.5&r2=1.6
44
45 Index: pth-2.0.7-r3.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild,v
48 retrieving revision 1.5
49 retrieving revision 1.6
50 diff -u -r1.5 -r1.6
51 --- pth-2.0.7-r3.ebuild 21 May 2011 19:57:38 -0000 1.5
52 +++ pth-2.0.7-r3.ebuild 11 Jan 2012 11:03:18 -0000 1.6
53 @@ -1,6 +1,8 @@
54 -# Copyright 1999-2011 Gentoo Foundation
55 +# Copyright 1999-2012 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild,v 1.5 2011/05/21 19:57:38 xarthisius Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild,v 1.6 2012/01/11 11:03:18 scarabeus Exp $
59 +
60 +EAPI=4
61
62 inherit eutils fixheadtails libtool flag-o-matic
63
64 @@ -11,14 +13,14 @@
65 LICENSE="LGPL-2.1"
66 SLOT="0"
67 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
68 -IUSE="debug"
69 +IUSE="debug static-libs"
70
71 DEPEND=""
72 RDEPEND="${DEPEND}"
73
74 -src_unpack() {
75 - unpack ${A}
76 - cd "${S}"
77 +DOCS="ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS"
78 +
79 +src_prepare() {
80 epatch "${FILESDIR}"/${PN}-2.0.5-parallelfix.patch
81 epatch "${FILESDIR}"/${PN}-2.0.6-ldflags.patch
82 epatch "${FILESDIR}"/${PN}-2.0.6-sigstack.patch
83 @@ -30,19 +32,18 @@
84 elibtoolize
85 }
86
87 -src_compile() {
88 +src_configure() {
89 # bug 350815
90 ( use arm || use sh ) && append-flags -U_FORTIFY_SOURCE
91
92 local conf
93 use debug && conf="${conf} --enable-debug" # have a bug --disable-debug and shared
94 - econf ${conf} || die
95 - emake || die
96 + econf \
97 + ${conf} \
98 + $(use_enable static-libs static)
99 }
100
101 src_install() {
102 - #Parallel install issuse fixed with parallel-install.patch.
103 - #Submitted upstream on 12-13-2010.
104 - emake DESTDIR="${D}" install || die
105 - dodoc ANNOUNCE AUTHORS ChangeLog NEWS README THANKS USERS || die
106 + default
107 + find "${ED}" -name '*.la' -exec rm -f {} +
108 }