diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-06-07 12:56:44 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-06-07 12:56:44 +0000 |
commit | 6b899e4c273cd34301f44cfa0c902d2d56bbdeb2 (patch) | |
tree | 53c59bc7812409ce1f5183279d1557e7f4c4e528 /eclass/kde.eclass | |
parent | Version bump, bug #95339. (diff) | |
download | gentoo-2-6b899e4c273cd34301f44cfa0c902d2d56bbdeb2.tar.gz gentoo-2-6b899e4c273cd34301f44cfa0c902d2d56bbdeb2.tar.bz2 gentoo-2-6b899e4c273cd34301f44cfa0c902d2d56bbdeb2.zip |
Better support for amd64 multilib (#94872).
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 6d3741e9a34b..fac674a396e4 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.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/kde.eclass,v 1.120 2005/05/26 22:02:04 greg_g Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.121 2005/06/07 12:56:44 greg_g Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -144,9 +144,13 @@ kde_src_compile() { myconf="${myconf} --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib" fi + # Use libsuffix instead of libdir to keep kde happy + if [ $(get_libdir) != "lib" ] ; then + myconf="${myconf} --enable-libsuffix=$(get_libdir | sed s/lib//)" + fi + ./configure \ ${myconf} \ - --libdir="\${exec_prefix}/$(get_libdir)" \ || die "died running ./configure, $FUNCNAME:configure" # Seems ./configure add -O2 by default but hppa don't want that but we need -ffunction-sections |