# ChangeLog for sys-devel/libtool
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.59 2004/11/09 21:23:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.60 2004/11/30 04:01:32 vapier Exp $
+
+ 29 Nov 2004; Mike Frysinger <vapier@gentoo.org>
+ +files/1.5.10/libtool-1.5.10-locking.patch, libtool-1.5.10.ebuild:
+ Move to unstable and include patch by Robin Johnson to fix locking issues
+ #40992.
09 Nov 2004; Mike Frysinger <vapier@gentoo.org>
+files/1.5.6/libtool-1.5-filter-host-tags.patch,
--- /dev/null
+--- libtool-1.5.10/ltmain.in.old 2004-11-16 22:21:32.849312264 -0800
++++ libtool-1.5.10/ltmain.in 2004-11-16 22:26:47.899417368 -0800
+@@ -1005,7 +1005,7 @@
+ # Lock this critical section if it is needed
+ # We use this script file to make the link, it avoids creating a new file
+ if test "$need_locks" = yes; then
+- until $run ln "$progpath" "$lockfile" 2>/dev/null; do
++ until $run ln "$srcfile" "$lockfile" 2>/dev/null; do
+ $show "Waiting for $lockfile to be removed"
+ sleep 2
+ done
# Copyright 1999-2004 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.ebuild,v 1.4 2004/11/12 15:21:00 vapier Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.5.10.ebuild,v 1.5 2004/11/30 04:01:32 vapier Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $
inherit eutils gnuconfig libtool
LICENSE="GPL-2"
SLOT="1.5"
-# breaks building .so completely (emerge fam)
-KEYWORDS="-*"
-#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="uclibc"
DEPEND="virtual/libc
# 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!"