summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-03 05:49:11 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-03 05:49:11 +0000
commit039e3be1dd65da1ffb697617769c4c97ac667a9a (patch)
tree2ed206b3bf230ee0c695c1baf4cb10554e27cb5b /sys-devel/libtool
parentVersion bumped. (diff)
downloadhistorical-039e3be1dd65da1ffb697617769c4c97ac667a9a.tar.gz
historical-039e3be1dd65da1ffb697617769c4c97ac667a9a.tar.bz2
historical-039e3be1dd65da1ffb697617769c4c97ac667a9a.zip
old
Diffstat (limited to 'sys-devel/libtool')
-rw-r--r--sys-devel/libtool/Manifest66
-rw-r--r--sys-devel/libtool/files/digest-libtool-1.5.10-r11
-rw-r--r--sys-devel/libtool/files/digest-libtool-1.5.2-r52
-rw-r--r--sys-devel/libtool/libtool-1.5.10-r1.ebuild142
-rw-r--r--sys-devel/libtool/libtool-1.5.2-r5.ebuild203
5 files changed, 36 insertions, 378 deletions
diff --git a/sys-devel/libtool/Manifest b/sys-devel/libtool/Manifest
index 4faa76c85f56..dda14ba87ef3 100644
--- a/sys-devel/libtool/Manifest
+++ b/sys-devel/libtool/Manifest
@@ -1,42 +1,48 @@
-MD5 6b6cb21d0fd78d28bc0d9ed60fbc0717 libtool-1.5.10-r2.ebuild 5197
-MD5 fbc403a38ac67d889f44a57240cb5c39 libtool-1.5.10-r1.ebuild 4843
-MD5 cf0c045ae34a346911f75ae05f41e241 libtool-1.5.2-r7.ebuild 6117
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 a1bb47696fbf470673f821de8e215ea5 ChangeLog 11549
-MD5 bca2c76e573b140cc3fb59e3e3b7605f libtool-1.3.5.ebuild 1496
-MD5 37b4d7d7b9b7da476e97841958849ff1 libtool-1.5.2-r5.ebuild 5840
+MD5 6b6cb21d0fd78d28bc0d9ed60fbc0717 libtool-1.5.10-r2.ebuild 5197
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 3b92d43ab25bc1ad32ee87d89660f268 files/digest-libtool-1.5.2-r7 131
-MD5 bb976ab258ba1974bf1a3cd0a51ce34b files/digest-libtool-1.5.10-r1 67
+MD5 bca2c76e573b140cc3fb59e3e3b7605f libtool-1.3.5.ebuild 1496
+MD5 cf0c045ae34a346911f75ae05f41e241 libtool-1.5.2-r7.ebuild 6117
+MD5 e893eae0aa5740740c388dbf0a35b3c6 files/digest-libtool-1.3.5 65
MD5 bd27a462a2a9fe3662d3d34179ed3200 files/libltdl-uclibc.patch 4590
MD5 bb976ab258ba1974bf1a3cd0a51ce34b files/digest-libtool-1.5.10-r2 67
+MD5 3b92d43ab25bc1ad32ee87d89660f268 files/digest-libtool-1.5.2-r7 131
MD5 2cd6110e84c85c183c7b8dcd0be814e7 files/ltconfig-uclibc.patch 1167
-MD5 e893eae0aa5740740c388dbf0a35b3c6 files/digest-libtool-1.3.5 65
-MD5 3b92d43ab25bc1ad32ee87d89660f268 files/digest-libtool-1.5.2-r5 131
-MD5 c4fd959743953818fe6ab06c7d84e795 files/1.4.3/libtool-1.4.3-quotes.patch 12951
-MD5 a9be6866b7096092613595ccff0fd773 files/1.4.3/libtool-1.4.3-pass-thread-flags.patch 494
-MD5 5fc838faf61964397b525e579783c190 files/1.4.3/libtool-1.4.3-uclibc.patch 5911
-MD5 73a7adc6c9b86c77affeeebccad0eedf files/1.4.3/libtool-1.4.2-portage.patch 2307
-MD5 191388758ae78d4982f143636e47f514 files/1.4.3/libtool-1.4.3-lib64.patch 1193
+MD5 2196d46d17a239f4b4d7629ca264a9ff files/1.5.10/libtool-1.5.10-locking.patch 513
+MD5 c420dec3cd806113ecc347a457137ea6 files/1.5.10/libtool-1.5.10-version-checking.patch 1805
+MD5 8ad4f6ed8863c26c4ac562e1d00e6db1 files/1.4.3/libtool-1.2f-cache.patch 698
+MD5 55544e163772c87195b893d27e00a0f8 files/1.4.3/libtool-1.3.5-mktemp.patch 642
MD5 67757e15bfa1cdefb5c23f76198329ec files/1.4.3/libtool-1.3.5-nonneg.patch 895
+MD5 c7e04f642029498cc1652407b1ea74bf files/1.4.3/libtool-1.4-nonneg.patch 935
+MD5 47fd700361b3cb3aae8dc44f28f613b0 files/1.4.3/libtool-1.4.2-add-x11r6-lib-in-ignores-for-rpath.patch 460
MD5 7c11e213296b02b7e4583d7c94e9c9e0 files/1.4.3/libtool-1.4.2-archive-shared.patch 633
-MD5 51df2f3c87ee74b80790edd735ddf565 files/1.4.3/libtool-1.4.2-s390_x86_64.patch 470
-MD5 55544e163772c87195b893d27e00a0f8 files/1.4.3/libtool-1.3.5-mktemp.patch 642
-MD5 e03f7ed340f294fdb7ddd6c84d4b6b09 files/1.4.3/libtool-1.4.2-relink-58664.patch 3213
-MD5 3b185e86e062b438eb8d418fc5af462f files/1.4.3/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch 816
-MD5 ff5cf09ccda7f9a34f8c3c69e0c5047c files/1.4.3/libtool-1.4.3-libtoolize--config-only.patch 1288
MD5 66ec977174eec4eba66454e4f0f5772a files/1.4.3/libtool-1.4.2-demo.patch 538
-MD5 c7e04f642029498cc1652407b1ea74bf files/1.4.3/libtool-1.4-nonneg.patch 935
+MD5 d4838522fa55dc06521ddde517901767 files/1.4.3/libtool-1.4.2-expsym-linux.patch 1678
+MD5 3b185e86e062b438eb8d418fc5af462f files/1.4.3/libtool-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch 816
MD5 f6f24e776d832798365777c26c2c56fc files/1.4.3/libtool-1.4.2-multilib.patch 1780
-MD5 47fd700361b3cb3aae8dc44f28f613b0 files/1.4.3/libtool-1.4.2-add-x11r6-lib-in-ignores-for-rpath.patch 460
+MD5 e03f7ed340f294fdb7ddd6c84d4b6b09 files/1.4.3/libtool-1.4.2-relink-58664.patch 3213
+MD5 51df2f3c87ee74b80790edd735ddf565 files/1.4.3/libtool-1.4.2-s390_x86_64.patch 470
+MD5 191388758ae78d4982f143636e47f514 files/1.4.3/libtool-1.4.3-lib64.patch 1193
+MD5 ff5cf09ccda7f9a34f8c3c69e0c5047c files/1.4.3/libtool-1.4.3-libtoolize--config-only.patch 1288
MD5 94591cd9fb847704a323c0faf31fdbf2 files/1.4.3/libtool-1.4.3-ltmain-SED.patch 363
-MD5 d4838522fa55dc06521ddde517901767 files/1.4.3/libtool-1.4.2-expsym-linux.patch 1678
-MD5 8ad4f6ed8863c26c4ac562e1d00e6db1 files/1.4.3/libtool-1.2f-cache.patch 698
-MD5 b81a86ce5e9014e53bd7beb12e46ed12 files/1.5.2/libtool-1.5.2-ltmain_sh-max_cmd_len.patch 1155
-MD5 6ef585a59058c79f3601bbd7787f2683 files/1.5.2/libtool-1.5-libtool.m4-x86_64.patch 466
-MD5 ec9cd0c9953bac111564122a5c209278 files/1.5.2/libtool-1.5-filter-host-tags.patch 1846
-MD5 8ac4aa8ff1c680fe44447274d9f3a673 files/1.5.2/libtool-1.5.2-libtool_m4-shared_ext.patch 882
-MD5 0fb02114fa6b6cd63ea25510f04f346a files/1.5.2/libtool-1.5-testfailure.patch 6448
+MD5 a9be6866b7096092613595ccff0fd773 files/1.4.3/libtool-1.4.3-pass-thread-flags.patch 494
+MD5 c4fd959743953818fe6ab06c7d84e795 files/1.4.3/libtool-1.4.3-quotes.patch 12951
+MD5 5fc838faf61964397b525e579783c190 files/1.4.3/libtool-1.4.3-uclibc.patch 5911
+MD5 73a7adc6c9b86c77affeeebccad0eedf files/1.4.3/libtool-1.4.2-portage.patch 2307
MD5 e9bbbf33e0ca9ed566c2bf5209265cfe files/1.5.6/libtool-1.5-filter-host-tags.patch 785
MD5 5e84c0a07a77ed6408b25453373914ab files/1.5.6/libtool-1.5.6-ltmain-SED.patch 431
-MD5 2196d46d17a239f4b4d7629ca264a9ff files/1.5.10/libtool-1.5.10-locking.patch 513
-MD5 c420dec3cd806113ecc347a457137ea6 files/1.5.10/libtool-1.5.10-version-checking.patch 1805
+MD5 ec9cd0c9953bac111564122a5c209278 files/1.5.2/libtool-1.5-filter-host-tags.patch 1846
+MD5 6ef585a59058c79f3601bbd7787f2683 files/1.5.2/libtool-1.5-libtool.m4-x86_64.patch 466
+MD5 0fb02114fa6b6cd63ea25510f04f346a files/1.5.2/libtool-1.5-testfailure.patch 6448
+MD5 8ac4aa8ff1c680fe44447274d9f3a673 files/1.5.2/libtool-1.5.2-libtool_m4-shared_ext.patch 882
+MD5 b81a86ce5e9014e53bd7beb12e46ed12 files/1.5.2/libtool-1.5.2-ltmain_sh-max_cmd_len.patch 1155
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFB2NzsroRuSHgZdywRAiOpAJ4nfEFq28E2FGTWmoh0PrfYeo0fFQCcDeyh
+0N7nNyl4P3mxVKYQD0Nc7Bc=
+=VGv7
+-----END PGP SIGNATURE-----
diff --git a/sys-devel/libtool/files/digest-libtool-1.5.10-r1 b/sys-devel/libtool/files/digest-libtool-1.5.10-r1
deleted file mode 100644
index cab20e0c9462..000000000000
--- a/sys-devel/libtool/files/digest-libtool-1.5.10-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e2093a85f6d48f1562c36920087502d6 libtool-1.5.10.tar.gz 2699923
diff --git a/sys-devel/libtool/files/digest-libtool-1.5.2-r5 b/sys-devel/libtool/files/digest-libtool-1.5.2-r5
deleted file mode 100644
index 301451dc934e..000000000000
--- a/sys-devel/libtool/files/digest-libtool-1.5.2-r5
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 db66ba05502f533ad0cfd84dc0e03bd5 libtool-1.5.2.tar.gz 2653072
-MD5 fa26a07c978ad05d1f88ed7a472daa49 libtool-1.3.5.tar.gz 538884
diff --git a/sys-devel/libtool/libtool-1.5.10-r1.ebuild b/sys-devel/libtool/libtool-1.5.10-r1.ebuild
deleted file mode 100644
index 92051bb2a3fc..000000000000
--- a/sys-devel/libtool/libtool-1.5.10-r1.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.5.10-r1.ebuild,v 1.3 2005/01/03 00:08:00 ciaranm Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $
-
-inherit eutils gnuconfig libtool
-
-DESCRIPTION="A shared library tool for developers"
-HOMEPAGE="http://www.gnu.org/software/libtool/libtool.html"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="1.5"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="uclibc"
-
-DEPEND="virtual/libc
- >=sys-devel/autoconf-2.58
- >=sys-devel/automake-1.8.3"
-# the autoconf dep is due to it complaining 'configure.ac:55: error: Autoconf version 2.58 or higher is required'
-# the automake dep is due to Bug #46037
-
-lt_setup() {
- export WANT_AUTOCONF=2.5
- export WANT_AUTOMAKE=1.5
-}
-
-gen_ltmain_sh() {
- local date=
- local PACKAGE=
- local VERSION=
-
- rm -f ltmain.shT
- date=`./mkstamp < ./ChangeLog` && \
- eval `egrep '^[[:space:]]*PACKAGE' configure` && \
- eval `egrep '^[[:space:]]*VERSION' configure` && \
- sed -e "s/@PACKAGE@/${PACKAGE}/" -e "s/@VERSION@/${VERSION}/" \
- -e "s%@TIMESTAMP@%$date%" ./ltmain.in > ltmain.shT || return 1
-
- mv -f ltmain.shT ltmain.sh || {
- (rm -f ltmain.sh && cp ltmain.shT ltmain.sh && rm -f ltmain.shT)
- return 1
- }
-
- return 0
-}
-
-src_unpack() {
- lt_setup
-
- unpack ${A}
-
- cd ${S}
-
- # Make sure non of the patches touch ltmain.sh, but rather ltmain.in
- rm -f ltmain.sh*
-
- # Redhat patches
- epatch ${FILESDIR}/1.4.3/${PN}-1.4-nonneg.patch
- # Fix the relink problem where the relinked libs do not get
- # installed. It is *VERY* important that you get a updated
- # 'libtool-1.4.3-relink.patch' if you update this, as it
- # fixes a very serious bug. Please not that this patch is
- # included in 'libtool-1.4.3-gentoo.patch' for this ebuild.
- #
- # NOTE: all affected apps should get a 'libtoolize --copy --force'
- # added to update libtool
- #
-# Seems to be included in shipped tarball ...
-# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-relink-58664.patch
-
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-multilib.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-demo.patch
-# Seems to be included in shipped tarball ...
-# epatch ${FILESDIR}/1.5.2/${PN}-1.5-libtool.m4-x86_64.patch
- epatch ${FILESDIR}/1.5.2/${PN}-1.5-testfailure.patch
- # Mandrake patches
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-lib64.patch
-# Fix bug #43244
-# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-archive-shared.patch
- epatch ${FILESDIR}/1.5.6/${PN}-1.5.6-ltmain-SED.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-expsym-linux.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-libtoolize--config-only.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-pass-thread-flags.patch
-
- # Gentoo Patches
- # Do not create bogus entries in $dependency_libs or $libdir
- # with ${D} or ${S} in them.
- # <azarah@gentoo.org> - (07 April 2002)
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-portage.patch
- # If a package use an older libtool, and libtool.m4 for that
- # package is updated, but not libtool, then we may run into an
- # issue where internal variables are named differently. Often
- # this shows up as libs being built without '.so' extension #73140
- epatch ${FILESDIR}/1.5.10/${PN}-1.5.10-version-checking.patch
- sed -i "s:@_LT_VERSION@:${PV}:" libtool.m4 || die "sed libtool.m4"
- # For older autoconf setups's that do not support libtool.m4,
- # $max_cmd_len are never set, causing all tests against it to
- # fail, resulting in 'integer expression expected' errors and
- # possible misbehaviour.
- # <azarah@gentoo.org> - (11 Feb 2004)
- epatch ${FILESDIR}/1.5.2/${PN}-1.5.2-ltmain_sh-max_cmd_len.patch
-
- # Libtool's autoguessing at tag's sucks ... it get's confused
- # if the tag's CC says '<CHOST>-gcc' and the env CC says 'gcc'
- # or vice versa ... newer automakes specify the tag so no
- # guessing is needed #67692
- epatch ${FILESDIR}/1.5.6/libtool-1.5-filter-host-tags.patch
-
- # Libtool uses links to handle locking object files with
- # dependencies. Hard links can't cross filesystems though,
- # so we have to use a diff source for the link. #40992
- epatch ${FILESDIR}/1.5.10/libtool-1.5.10-locking.patch
-
- einfo "Generate ltmain.sh ..."
- gen_ltmain_sh || die "Failed to generate ltmain.sh!"
-
- uclibctoolize
- gnuconfig_update ${WORKDIR}
- epunt_cxx
-}
-
-src_compile() {
- lt_setup
- econf || die
- emake || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- dodoc AUTHORS ChangeLog* NEWS README THANKS TODO doc/PLATFORMS
-
- if use uclibc ; then
- for x in $(find ${D} -name config.guess -o -name config.sub) ; do
- rm -f ${x}; ln -sf ../gnuconfig/$(basename ${x}) ${x}
- done
- cd ${D}/usr/share/libtool/libltdl
- for x in config.guess config.sub ; do
- rm -f ${x} ; ln -sfn ../${x} ${x}
- done
- fi
-}
diff --git a/sys-devel/libtool/libtool-1.5.2-r5.ebuild b/sys-devel/libtool/libtool-1.5.2-r5.ebuild
deleted file mode 100644
index 4cd79ce343d5..000000000000
--- a/sys-devel/libtool/libtool-1.5.2-r5.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.5.2-r5.ebuild,v 1.24 2005/01/03 00:08:00 ciaranm Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $
-
-inherit eutils gnuconfig
-
-# NOTE: We install libltdl of libtool-1.3x for compat reasons ...
-
-OLD_PV="1.3.5"
-OLD_S="${WORKDIR}/${PN}-${OLD_PV}"
-DESCRIPTION="A shared library tool for developers"
-HOMEPAGE="http://www.gnu.org/software/libtool/libtool.html"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
- mirror://gnu/${PN}/${PN}-${OLD_PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="1.5"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE="uclibc"
-
-DEPEND="virtual/libc
- >=sys-devel/autoconf-2.58
- >=sys-devel/automake-1.8.3"
-# the autoconf dep is due to it complaining 'configure.ac:55: error: Autoconf version 2.58 or higher is required'
-# the automake dep is due to Bug #46037
-
-lt_setup() {
- export WANT_AUTOCONF=2.5
- export WANT_AUTOMAKE=1.5
-}
-
-gen_ltmain_sh() {
- local date=
- local PACKAGE=
- local VERSION=
-
- rm -f ltmain.shT
- date=`./mkstamp < ./ChangeLog` && \
- eval `egrep '^[[:space:]]*PACKAGE' configure` && \
- eval `egrep '^[[:space:]]*VERSION' configure` && \
- sed -e "s/@PACKAGE@/${PACKAGE}/" -e "s/@VERSION@/${VERSION}/" \
- -e "s%@TIMESTAMP@%$date%" ./ltmain.in > ltmain.shT || return 1
-
- mv -f ltmain.shT ltmain.sh || {
- (rm -f ltmain.sh && cp ltmain.shT ltmain.sh && rm -f ltmain.shT)
- return 1
- }
-
- return 0
-}
-
-src_unpack() {
- lt_setup
-
- unpack ${A}
-
- cd ${OLD_S}
- echo
- # Install updated missing script
- portageq has_version / "sys-devel/automake" && {
- rm -f missing
- automake --add-missing
- }
-
- einfo "Patching ${OLD_S##*/} ..."
- epatch ${FILESDIR}/1.4.3/${PN}-1.2f-cache.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.3.5-nonneg.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.3.5-mktemp.patch
- epatch ${FILESDIR}/ltconfig-uclibc.patch
-
- cd ${S}
- echo
- # Install updated missing script
-# portageq has_version / "sys-devel/automake" && {
-# rm -f missing
-# automake --add-missing
-# }
-
- # Make sure non of the patches touch ltmain.sh, but rather ltmain.in
- rm -f ltmain.sh*
-
- einfo "Patching ${S##*/} ..."
- # Redhat patches
- epatch ${FILESDIR}/1.4.3/${PN}-1.4-nonneg.patch
- # Fix the relink problem where the relinked libs do not get
- # installed. It is *VERY* important that you get a updated
- # 'libtool-1.4.3-relink.patch' if you update this, as it
- # fixes a very serious bug. Please not that this patch is
- # included in 'libtool-1.4.3-gentoo.patch' for this ebuild.
- #
- # NOTE: all affected apps should get a 'libtoolize --copy --force'
- # added to update libtool
- #
-# Seems to be included in shipped tarball ...
-# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-relink-58664.patch
-
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-multilib.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-demo.patch
- epatch ${FILESDIR}/${PV}/${PN}-1.5-libtool.m4-x86_64.patch
- epatch ${FILESDIR}/${PV}/${PN}-1.5-testfailure.patch
- # Mandrake patches
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-lib64.patch
-# Fix bug #43244
-# epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-fix-linkage-of-cxx-code-with-gcc.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-archive-shared.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-ltmain-SED.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-expsym-linux.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-libtoolize--config-only.patch
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.3-pass-thread-flags.patch
-
- # Gentoo Patches
- # Do not create bogus entries in $dependency_libs or $libdir
- # with ${D} or ${S} in them.
- # <azarah@gentoo.org> - (07 April 2002)
- epatch ${FILESDIR}/1.4.3/${PN}-1.4.2-portage.patch
- # If a package use an older libtool, and libtool.m4 for that
- # package is updated, but not libtool, then we run into an
- # issue where $shared_ext is not set. This results in libraries
- # being built without '.so' extension, bug #40901
- # <azarah@gentoo.org> - (11 Feb 2004)
- epatch ${FILESDIR}/${PV}/${PN}-1.5.2-libtool_m4-shared_ext.patch
- # For older autoconf setups's that do not support libtool.m4,
- # $max_cmd_len are never set, causing all tests against it to
- # fail, resulting in 'integer expression expected' errors and
- # possible misbehaviour.
- # <azarah@gentoo.org> - (11 Feb 2004)
- epatch ${FILESDIR}/${PV}/${PN}-1.5.2-ltmain_sh-max_cmd_len.patch
-
- einfo "Generate ltmain.sh ..."
- gen_ltmain_sh || die "Failed to generate ltmain.sh!"
-
- # Run gnuconfig_update for both old and new versions *after* patches so we
- # don't screw them up
- gnuconfig_update ${WORKDIR}
-}
-
-src_compile() {
- lt_setup
-
- #
- # ************ libtool-1.3x ************
- #
-
- cd ${OLD_S}
-
- einfo "Configuring ${OLD_S##*/} ..."
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --infodir=/usr/share/info || die
-
- einfo "Building ${OLD_S##*/} ..."
- emake || die
-
- #
- # ************ libtool-1.5x ************
- #
-
- cd ${S}
-
- einfo "Configuring ${S##*/} ..."
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --infodir=/usr/share/info || die
-
- einfo "Building ${S##*/} ..."
- emake || die
-}
-
-src_install() {
- #
- # ************ libtool-1.3x ************
- #
-
- einfo "Installing ${OLD_S##*/} ..."
- cd ${OLD_S}/libltdl; make DESTDIR=${D} install || die
-
- # Remove stuff we are not going to use ...
- for x in libltdl.a libltdl.la libltdl.so
- do
- [ -f ${x} ] && rm -f ${D}/usr/lib/${x}
- done
- rm -rf ${D}/usr/include
-
- #
- # ************ libtool-1.5x ************
- #
-
- einfo "Installing ${S##*/} ..."
- cd ${S}; make DESTDIR=${D} install || die
-
- if use uclibc ; then
- for x in $(find ${D} -name config.guess -o -name config.sub) ; do
- rm -f ${x}; ln -sf ../gnuconfig/$(basename ${x}) ${x}
- done
- cd ${D}/usr/share/libtool/libltdl
- for x in config.guess config.sub ; do
- rm -f ${x} ; ln -sfn ../${x} ${x}
- done
- cd ${S}
- fi
-
- dodoc AUTHORS ChangeLog* NEWS README THANKS TODO doc/PLATFORMS
-}