Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/libtool: ChangeLog libtool-2.4-r1.ebuild
Date: Mon, 29 Nov 2010 15:12:50
Message-Id: 20101129151234.8037320051@flycatcher.gentoo.org
1 flameeyes 10/11/29 15:12:34
2
3 Modified: ChangeLog
4 Added: libtool-2.4-r1.ebuild
5 Log:
6 Add experimental revision without runtime dependency over autotools, trying to deal with bug #317309.
7
8 (Portage version: 2.2.0_alpha6/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.182 sys-devel/libtool/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/ChangeLog?rev=1.182&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/ChangeLog?rev=1.182&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/ChangeLog?r1=1.181&r2=1.182
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v
20 retrieving revision 1.181
21 retrieving revision 1.182
22 diff -u -r1.181 -r1.182
23 --- ChangeLog 13 Nov 2010 12:02:17 -0000 1.181
24 +++ ChangeLog 29 Nov 2010 15:12:34 -0000 1.182
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-devel/libtool
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.181 2010/11/13 12:02:17 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.182 2010/11/29 15:12:34 flameeyes Exp $
30 +
31 +*libtool-2.4-r1 (29 Nov 2010)
32 +
33 + 29 Nov 2010; Diego E. Pettenò <flameeyes@g.o> +libtool-2.4-r1.ebuild:
34 + Add experimental revision without runtime dependency over autotools, trying
35 + to deal with bug #317309.
36
37 13 Nov 2010; Raúl Porcel <armin76@g.o> libtool-2.2.10.ebuild:
38 alpha/ia64/m68k/s390/sh/sparc stable wrt #338092
39
40
41
42 1.1 sys-devel/libtool/libtool-2.4-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/libtool-2.4-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/libtool-2.4-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libtool-2.4-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-2.4-r1.ebuild,v 1.1 2010/11/29 15:12:34 flameeyes Exp $
52
53 EAPI="3"
54
55 LIBTOOLIZE="true" #225559
56 inherit eutils autotools multilib
57
58 DESCRIPTION="A shared library tool for developers"
59 HOMEPAGE="http://www.gnu.org/software/libtool/"
60 SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
61
62 LICENSE="GPL-2"
63 SLOT="2"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
65 IUSE="vanilla"
66
67 RDEPEND="sys-devel/gnuconfig
68 !<sys-devel/autoconf-2.62:2.5
69 !<sys-devel/automake-1.10.1:1.10
70 !=sys-devel/libtool-2*:1.5"
71 DEPEND="${RDEPEND}
72 >=sys-devel/binutils-2.20
73 || ( app-arch/xz-utils app-arch/lzma-utils )"
74
75 src_prepare() {
76 if ! use vanilla ; then
77 epunt_cxx
78 cd libltdl/m4
79 epatch "${FILESDIR}"/1.5.20/${PN}-1.5.20-use-linux-version-in-fbsd.patch #109105
80 cd ..
81 AT_NOELIBTOOLIZE=yes eautoreconf
82 cd ..
83 AT_NOELIBTOOLIZE=yes eautoreconf
84 fi
85 }
86
87 src_configure() {
88 # the libtool script uses bash code in it and at configure time, tries
89 # to find a bash shell. if /bin/sh is bash, it uses that. this can
90 # cause problems for people who switch /bin/sh on the fly to other
91 # shells, so just force libtool to use /bin/bash all the time.
92 export CONFIG_SHELL=/bin/bash
93
94 default
95 }
96
97 src_install() {
98 emake DESTDIR="${D}" install || die
99 dodoc AUTHORS ChangeLog* NEWS README THANKS TODO doc/PLATFORMS
100
101 for x in $(find "${D}" -name config.guess -o -name config.sub) ; do
102 rm -f "${x}" ; ln -sf /usr/share/gnuconfig/${x##*/} "${x}"
103 done
104 }
105
106 pkg_preinst() {
107 preserve_old_lib /usr/$(get_libdir)/libltdl.so.3
108 }
109
110 pkg_postinst() {
111 preserve_old_lib_notify /usr/$(get_libdir)/libltdl.so.3
112 }