--- glib-1.2.10-r5.ebuild.orig 2006-05-20 15:46:10.000000000 -0700 +++ glib-1.2.10-r5.ebuild 2006-05-20 15:48:28.000000000 -0700 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r5.ebuild,v 1.46 2006/04/12 14:38:47 flameeyes Exp $ -inherit libtool flag-o-matic eutils portability +inherit libtool flag-o-matic eutils portability autotools gnuconfig DESCRIPTION="The GLib library of C routines" HOMEPAGE="http://www.gtk.org/" @@ -24,10 +24,11 @@ # Allow glib to build with gcc-3.4.x #47047 epatch "${FILESDIR}"/${P}-gcc34-fix.patch - - elibtoolize + epatch "${FILESDIR}"/${P}-as-needed.patch use ppc64 && use hardened && replace-flags -O[2-3] -O1 append-ldflags $(dlopen_lib) + _elibtoolize --copy --force || die + elibtoolize # Should I be running this before or after _elibtoolize? } src_compile() {