Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/expat: ChangeLog expat-2.0.1-r4.ebuild
Date: Fri, 29 Jul 2011 16:33:26
Message-Id: 20110729163313.DE25220051@flycatcher.gentoo.org
1 ssuominen 11/07/29 16:33:13
2
3 Modified: ChangeLog
4 Added: expat-2.0.1-r4.ebuild
5 Log:
6 Remove libtool and static files with USE="-static-libs"
7
8 (Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.99 dev-libs/expat/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/ChangeLog?rev=1.99&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/ChangeLog?rev=1.99&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/ChangeLog?r1=1.98&r2=1.99
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v
20 retrieving revision 1.98
21 retrieving revision 1.99
22 diff -u -r1.98 -r1.99
23 --- ChangeLog 11 Jul 2011 19:52:50 -0000 1.98
24 +++ ChangeLog 29 Jul 2011 16:33:13 -0000 1.99
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/expat
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v 1.98 2011/07/11 19:52:50 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/ChangeLog,v 1.99 2011/07/29 16:33:13 ssuominen Exp $
30 +
31 +*expat-2.0.1-r4 (29 Jul 2011)
32 +
33 + 29 Jul 2011; Samuli Suominen <ssuominen@g.o> +expat-2.0.1-r4.ebuild:
34 + Remove libtool and static files with USE="-static-libs"
35
36 11 Jul 2011; Alexis Ballier <aballier@g.o> expat-2.0.1-r3.ebuild:
37 move libexpat.so.1 to /lib with FreeBSD libc as thats now a library required
38
39
40
41 1.1 dev-libs/expat/expat-2.0.1-r4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/expat-2.0.1-r4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/expat/expat-2.0.1-r4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: expat-2.0.1-r4.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-2.0.1-r4.ebuild,v 1.1 2011/07/29 16:33:13 ssuominen Exp $
51
52 EAPI=2
53 inherit eutils libtool toolchain-funcs
54
55 DESCRIPTION="XML parsing libraries"
56 HOMEPAGE="http://expat.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/expat/${P}.tar.gz"
58
59 LICENSE="MIT"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
62 IUSE="elibc_FreeBSD static-libs"
63
64 src_prepare() {
65 epatch \
66 "${FILESDIR}"/${P}-check_stopped_parser.patch \
67 "${FILESDIR}"/${P}-fix_bug_1990430.patch \
68 "${FILESDIR}"/${P}-CVE-2009-3560-revised.patch
69
70 elibtoolize
71 epunt_cxx
72 }
73
74 src_configure() {
75 econf $(use_enable static-libs static)
76 }
77
78 src_install() {
79 emake DESTDIR="${D}" install || die
80
81 use static-libs || rm -f "${D}"usr/lib*/libexpat.la
82
83 # libgeom in /lib and ifconfig in /sbin require it on FreeBSD since we
84 # stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
85 use elibc_FreeBSD && gen_usr_ldscript -a expat
86
87 dodoc Changes README || die
88 dohtml doc/* || die
89 }