Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/libtool: libtool-2.4.3-r1.ebuild ChangeLog
Date: Fri, 31 Oct 2014 21:08:17
Message-Id: 20141031210812.C450B92A5@oystercatcher.gentoo.org
1 vapier 14/10/31 21:08:12
2
3 Modified: ChangeLog
4 Added: libtool-2.4.3-r1.ebuild
5 Log:
6 Do not delete headers installed by gnulib #527200 by Jorge Nerin.
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.228 sys-devel/libtool/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/ChangeLog?rev=1.228&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/ChangeLog?rev=1.228&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/ChangeLog?r1=1.227&r2=1.228
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v
20 retrieving revision 1.227
21 retrieving revision 1.228
22 diff -u -r1.227 -r1.228
23 --- ChangeLog 28 Oct 2014 01:01:00 -0000 1.227
24 +++ ChangeLog 31 Oct 2014 21:08:12 -0000 1.228
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-devel/libtool
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.227 2014/10/28 01:01:00 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.228 2014/10/31 21:08:12 vapier Exp $
30 +
31 +*libtool-2.4.3-r1 (31 Oct 2014)
32 +
33 + 31 Oct 2014; Mike Frysinger <vapier@g.o>
34 + +files/libtool-2.4.3-no-clean-gnulib.patch, +libtool-2.4.3-r1.ebuild:
35 + Do not delete headers installed by gnulib #527200 by Jorge Nerin.
36
37 *libtool-2.4.3 (28 Oct 2014)
38
39
40
41
42 1.1 sys-devel/libtool/libtool-2.4.3-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/libtool-2.4.3-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/libtool/libtool-2.4.3-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libtool-2.4.3-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 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.3-r1.ebuild,v 1.1 2014/10/31 21:08:12 vapier Exp $
52
53 EAPI="4"
54
55 LIBTOOLIZE="true" #225559
56 WANT_LIBTOOL="none"
57 inherit eutils autotools multilib unpacker multilib-minimal
58
59 if [[ ${PV} == "9999" ]] ; then
60 EGIT_REPO_URI="git://git.savannah.gnu.org/${PN}.git
61 http://git.savannah.gnu.org/r/${PN}.git"
62 inherit git-2
63 else
64 SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
65 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
66 fi
67
68 DESCRIPTION="A shared library tool for developers"
69 HOMEPAGE="http://www.gnu.org/software/libtool/"
70
71 LICENSE="GPL-2"
72 SLOT="2"
73 IUSE="static-libs test vanilla"
74
75 RDEPEND="sys-devel/gnuconfig
76 !<sys-devel/autoconf-2.62:2.5
77 !<sys-devel/automake-1.11.1:1.11
78 !=sys-devel/libtool-2*:1.5
79 abi_x86_32? (
80 !<=app-emulation/emul-linux-x86-baselibs-20140406-r2
81 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
82 )"
83 DEPEND="${RDEPEND}
84 test? ( !<sys-devel/binutils-2.20 )
85 app-arch/xz-utils"
86 [[ ${PV} == "9999" ]] && DEPEND+=" sys-apps/help2man"
87
88 src_unpack() {
89 if [[ ${PV} == "9999" ]] ; then
90 git-2_src_unpack
91 cd "${S}"
92 ./bootstrap || die
93 else
94 unpacker_src_unpack
95 fi
96 }
97
98 src_prepare() {
99 use vanilla && return 0
100
101 epatch "${FILESDIR}"/${PN}-2.4.3-use-linux-version-in-fbsd.patch #109105
102 epatch "${FILESDIR}"/${PN}-2.4.3-no-clean-gnulib.patch #527200
103 pushd libltdl >/dev/null
104 AT_NOELIBTOOLIZE=yes eautoreconf
105 popd >/dev/null
106 AT_NOELIBTOOLIZE=yes eautoreconf
107 epunt_cxx
108 }
109
110 multilib_src_configure() {
111 # the libtool script uses bash code in it and at configure time, tries
112 # to find a bash shell. if /bin/sh is bash, it uses that. this can
113 # cause problems for people who switch /bin/sh on the fly to other
114 # shells, so just force libtool to use /bin/bash all the time.
115 export CONFIG_SHELL=/bin/bash
116 ECONF_SOURCE="${S}" \
117 econf $(use_enable static-libs static)
118 }
119
120 multilib_src_install_all() {
121 dodoc AUTHORS ChangeLog* NEWS README THANKS TODO doc/PLATFORMS
122
123 # While the libltdl.la file is not used directly, the m4 ltdl logic
124 # keys off of its existence when searching for ltdl support. #293921
125 #use static-libs || find "${D}" -name libltdl.la -delete
126
127 # Building libtool with --disable-static will cause the installed
128 # helper to not build static objects by default. This is undesirable
129 # for crappy packages that utilize the system libtool, so undo that.
130 sed -i -e '1,/^build_old_libs=/{/^build_old_libs=/{s:=.*:=yes:}}' "${D}"/usr/bin/libtool || die
131
132 local x
133 for x in $(find "${D}" -name config.guess -o -name config.sub) ; do
134 ln -sf /usr/share/gnuconfig/${x##*/} "${x}" || die
135 done
136 }
137
138 pkg_preinst() {
139 preserve_old_lib /usr/$(get_libdir)/libltdl.so.3
140 }
141
142 pkg_postinst() {
143 preserve_old_lib_notify /usr/$(get_libdir)/libltdl.so.3
144 }