diff options
author | Travis Tilley <lv@gentoo.org> | 2004-09-01 10:03:04 +0000 |
---|---|---|
committer | Travis Tilley <lv@gentoo.org> | 2004-09-01 10:03:04 +0000 |
commit | 64f1a21342588a92871eef96ef418181aff0583e (patch) | |
tree | 3d97c4cc81dc479042fcd8e1e5c68a5237b5acd7 /sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild | |
parent | Added icon USE flag, see bug #62163. (Manifest recommit) (diff) | |
download | gentoo-2-64f1a21342588a92871eef96ef418181aff0583e.tar.gz gentoo-2-64f1a21342588a92871eef96ef418181aff0583e.tar.bz2 gentoo-2-64f1a21342588a92871eef96ef418181aff0583e.zip |
made libstdc++-v3 use $(get_libdir) for optionally installing to lib32/lib64 based on the CONF_LIBDIR setting. CONF_LIBDIR wont be fully supported until portage 2.0.51
Diffstat (limited to 'sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild')
-rw-r--r-- | sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild index 282bcab8d6e4..a6d0c20b8f65 100644 --- a/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild +++ b/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild @@ -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/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild,v 1.24 2004/08/28 15:51:25 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libstdc++-v3/libstdc++-v3-3.3.3-r1.ebuild,v 1.25 2004/09/01 10:03:04 lv Exp $ inherit eutils flag-o-matic libtool gnuconfig @@ -227,6 +227,12 @@ src_install() { # apps and also causes others to link against the old libstdc++... rm ${D}/${LOC}/lib/libstdc++-v3/libstdc++.so + # and it's much easier to just move around the result than it is to + # configure libstdc++-v3 to use CONF_LIDIR + if [ "$(get_libdir)" != "lib" ] ; then + mv ${D}/${LOC}/lib ${D}/${LOC}/$(get_libdir) + fi + mkdir -p ${D}/etc/env.d/ echo "LDPATH=\"${LOC}/lib/libstdc++-v3/\"" >> ${D}/etc/env.d/99libstdc++ } |