diff options
author | 2004-12-16 02:30:43 +0000 | |
---|---|---|
committer | 2004-12-16 02:30:43 +0000 | |
commit | 53d42891fd4646fabef0bbe82ee4dcb2c6ab76d2 (patch) | |
tree | 25083181db89b53dd97df8f76419ace4ec18f5ec | |
parent | Make sure the dict files respect $(get_libdir) #74553. (diff) | |
download | historical-53d42891fd4646fabef0bbe82ee4dcb2c6ab76d2.tar.gz historical-53d42891fd4646fabef0bbe82ee4dcb2c6ab76d2.tar.bz2 historical-53d42891fd4646fabef0bbe82ee4dcb2c6ab76d2.zip |
Support $(get_libdir) for funky arches
-rw-r--r-- | eclass/toolchain-binutils.eclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 045d1460ab78..f775669204a4 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.15 2004/12/16 01:03:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.16 2004/12/16 02:30:43 vapier Exp $ # We install binutils into CTARGET-VERSION specific directories. This lets # us easily merge multiple versions for multiple targets (if we wish) and @@ -39,10 +39,10 @@ fi DEPEND="virtual/libc nls? ( sys-devel/gettext ) - >=sys-devel/binutils-config-1.2 + >=sys-devel/binutils-config-1.3 !build? ( !bootstrap? ( dev-lang/perl ) )" -LIBPATH="/usr/lib/binutils/${CTARGET}/${PV}" +LIBPATH="/usr/$(get_libdir)/binutils/${CTARGET}/${PV}" INCPATH="${LIBPATH}/include" BINPATH="/usr/${CTARGET}/binutils-bin/${PV}" DATAPATH="/usr/share/binutils-data/${CTARGET}/${PV}" @@ -161,6 +161,7 @@ toolchain-binutils_src_install() { cat << EOF > env.d TARGET="${CTARGET}" VER="${PV}" +LIBPATH="${LIBPATH}" EOF newins env.d ${CTARGET}-${PV} |