diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-13 04:38:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-13 04:38:24 +0000 |
commit | 11c8e5135d45bb8dcd0eb24b0b49aed1346344c9 (patch) | |
tree | caea708229ac4e4caf94b7cd2d6f04edbc870dde /sys-devel/libtool | |
parent | arm/hppa/ia64/s390 lovin (diff) | |
download | historical-11c8e5135d45bb8dcd0eb24b0b49aed1346344c9.tar.gz historical-11c8e5135d45bb8dcd0eb24b0b49aed1346344c9.tar.bz2 historical-11c8e5135d45bb8dcd0eb24b0b49aed1346344c9.zip |
Version bump.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-devel/libtool')
-rw-r--r-- | sys-devel/libtool/ChangeLog | 9 | ||||
-rw-r--r-- | sys-devel/libtool/Manifest | 5 | ||||
-rw-r--r-- | sys-devel/libtool/files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch | 33 | ||||
-rw-r--r-- | sys-devel/libtool/files/digest-libtool-1.5.14 | 1 | ||||
-rw-r--r-- | sys-devel/libtool/libtool-1.5.14.ebuild | 151 |
5 files changed, 197 insertions, 2 deletions
diff --git a/sys-devel/libtool/ChangeLog b/sys-devel/libtool/ChangeLog index 4b531c0085bd..72ad7e787156 100644 --- a/sys-devel/libtool/ChangeLog +++ b/sys-devel/libtool/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-devel/libtool # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.75 2005/03/04 17:21:18 morfic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.76 2005/03/13 04:38:24 vapier Exp $ + +*libtool-1.5.14 (13 Mar 2005) + + 13 Mar 2005; Mike Frysinger <vapier@gentoo.org> + +files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch, + +libtool-1.5.14.ebuild: + Version bump. 04 Mar 2005; Daniel Goller <morfic@gentoo.org> libtool-1.5.10-r4.ebuild: Stable on ppc diff --git a/sys-devel/libtool/Manifest b/sys-devel/libtool/Manifest index 00176dd9ac6c..4457e0313d04 100644 --- a/sys-devel/libtool/Manifest +++ b/sys-devel/libtool/Manifest @@ -1,15 +1,18 @@ -MD5 f1b6d925e83a055711571d19324ed7f4 ChangeLog 13060 +MD5 5a6b9d3f9060d96e11599a3556027dba ChangeLog 13244 MD5 d15772c08369f5d019150192175bbe8e libtool-1.5.10-r4.ebuild 5197 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 MD5 03cf21271c4dbeb86588fa5b36a0b120 libtool-1.3.5.ebuild 1489 MD5 38555a9183ab61935f3db1c1560dc4a1 libtool-1.5.2-r7.ebuild 6227 +MD5 369d668026473ddd033a86496004162a libtool-1.5.14.ebuild 5078 MD5 2a3bcf264b05d41e2fc2b11bb2d01da1 libtool-1.5.10-r5.ebuild 5146 MD5 e893eae0aa5740740c388dbf0a35b3c6 files/digest-libtool-1.3.5 65 MD5 bd27a462a2a9fe3662d3d34179ed3200 files/libltdl-uclibc.patch 4590 MD5 bb976ab258ba1974bf1a3cd0a51ce34b files/digest-libtool-1.5.10-r4 67 MD5 3b92d43ab25bc1ad32ee87d89660f268 files/digest-libtool-1.5.2-r7 131 MD5 bb976ab258ba1974bf1a3cd0a51ce34b files/digest-libtool-1.5.10-r5 67 +MD5 87d955b2c948108538c60271fc732069 files/digest-libtool-1.5.14 67 MD5 2cd6110e84c85c183c7b8dcd0be814e7 files/ltconfig-uclibc.patch 1167 +MD5 807631adcb4daeff2315f390d95d262f files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch 1093 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 31af600c8e04aa03291773b91ca1bc53 files/1.5.10/libtool-1.5.10-portage.patch 2841 diff --git a/sys-devel/libtool/files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch b/sys-devel/libtool/files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch new file mode 100644 index 000000000000..74de9cfb8abf --- /dev/null +++ b/sys-devel/libtool/files/1.5.14/libtool-1.5.14-ltmain_sh-max_cmd_len.patch @@ -0,0 +1,33 @@ +--- libtool-1.5.14/ltmain.in ++++ libtool-1.5.14/ltmain.in +@@ -136,6 +136,30 @@ + lo2o="s/\\.lo\$/.${objext}/" + o2lo="s/\\.${objext}\$/.lo/" + quote_scanset='[[~#^*{};<>?'"'"' ]' ++ ++if test -z "$max_cmd_len"; then ++ i=0 ++ testring="ABCD" ++ new_result= ++ ++ # If test is not a shell built-in, we'll probably end up computing a ++ # maximum length that is only half of the actual maximum length, but ++ # we can't tell. ++ while (test "X"`$SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ ++ = "XX$testring") >/dev/null 2>&1 && ++ new_result=`expr "X$testring" : ".*" 2>&1` && ++ max_cmd_len="$new_result" && ++ test "$i" != 17 # 1/2 MB should be enough ++ do ++ i=`expr $i + 1` ++ testring="$testring$testring" ++ done ++ testring= ++ # Add a significant safety factor because C++ compilers can tack on massive ++ # amounts of additional arguments before passing them to the linker. ++ # It appears as though 1/2 is a usable value. ++ max_cmd_len=`expr $max_cmd_len \/ 2` ++fi + + ##################################### + # Shell function definitions: diff --git a/sys-devel/libtool/files/digest-libtool-1.5.14 b/sys-devel/libtool/files/digest-libtool-1.5.14 new file mode 100644 index 000000000000..780f57ad9279 --- /dev/null +++ b/sys-devel/libtool/files/digest-libtool-1.5.14 @@ -0,0 +1 @@ +MD5 049bf67de9b0eb75cd943dafe3d749ec libtool-1.5.14.tar.gz 2732031 diff --git a/sys-devel/libtool/libtool-1.5.14.ebuild b/sys-devel/libtool/libtool-1.5.14.ebuild new file mode 100644 index 000000000000..818baaacee8c --- /dev/null +++ b/sys-devel/libtool/libtool-1.5.14.ebuild @@ -0,0 +1,151 @@ +# 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.14.ebuild,v 1.1 2005/03/13 04:38:24 vapier Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $ + +inherit eutils 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 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +DEPEND="sys-devel/gnuconfig + >=sys-devel/autoconf-2.59 + >=sys-devel/automake-1.9" +# 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.9 +} + +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* + + # 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.5.10/${PN}-1.5.10-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.14/${PN}-1.5.14-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 + + ebegin "Generating ltmain.sh" + gen_ltmain_sh || die "Failed to generate ltmain.sh!" + eend 0 + + # Now let's run all our autotool stuff so that files we patch + # below don't get regenerated on us later + cp libtool.m4 acinclude.m4 + local d p + for d in . libltdl ; do + ebegin "Running autotools in '${d}'" + cd ${S}/${d} + touch acinclude.m4 + for p in aclocal "automake -c -a" autoconf ; do + ${p} || die "${p}" + done + eend 0 + done + cd "${S}" + + uclibctoolize + 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 + + 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 +} |