diff options
author | 2009-09-20 14:05:48 +0200 | |
---|---|---|
committer | 2009-09-20 14:05:48 +0200 | |
commit | ad2ba54940c1e56bd60e9d1cfab8b1894f4be00b (patch) | |
tree | 65896f105d874f54207bfc190ebbb77a6bd929a1 | |
parent | sys-libs/glibc-2.10.1 is in the tree bug #270274 and syslog for fortify (diff) | |
download | hardened-dev-ad2ba54940c1e56bd60e9d1cfab8b1894f4be00b.tar.gz hardened-dev-ad2ba54940c1e56bd60e9d1cfab8b1894f4be00b.tar.bz2 hardened-dev-ad2ba54940c1e56bd60e9d1cfab8b1894f4be00b.zip |
Update with changes from portage
-rw-r--r-- | eclass/toolchain.eclass | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index c5282b00..87168139 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.406 2009/08/26 21:47:56 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.407 2009/09/08 02:48:46 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -2019,6 +2019,7 @@ gcc_movelibs() { fi fi done + fix_libtool_libdir_paths "${LIBPATH}/${MULTIDIR}" done # We remove directories separately to avoid this case: @@ -2029,8 +2030,6 @@ gcc_movelibs() { rmdir "${D}"${FROMDIR} >& /dev/null done find "${D}" -type d | xargs rmdir >& /dev/null - - fix_libtool_libdir_paths } #----<< src_* >>---- @@ -2551,9 +2550,11 @@ disable_multilib_libjava() { fix_libtool_libdir_paths() { pushd "${D}" >/dev/null - local dir=${LIBPATH} - local allarchives=$(cd ./${dir}; echo *.la) + pushd "${1}" >/dev/null + local dir="${PWD#${D}}" + local allarchives=$(echo *.la) allarchives="\(${allarchives// /\\|}\)" + popd >/dev/null sed -i \ -e "/^libdir=/s:=.*:='${dir}':" \ |