diff options
author | 2005-05-27 23:24:09 +0000 | |
---|---|---|
committer | 2005-05-27 23:24:09 +0000 | |
commit | 5a1c3e9fa3296985e3a4062d525f67bdb86fd770 (patch) | |
tree | 9b36a3c58147c6ed332470660c0966340f54e738 /eclass | |
parent | Version bumped, Bug 93702. (diff) | |
download | historical-5a1c3e9fa3296985e3a4062d525f67bdb86fd770.tar.gz historical-5a1c3e9fa3296985e3a4062d525f67bdb86fd770.tar.bz2 historical-5a1c3e9fa3296985e3a4062d525f67bdb86fd770.zip |
Multilib fixes.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mythtv-plugins.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/mythtv-plugins.eclass b/eclass/mythtv-plugins.eclass index 2cd771e45049..9913c919ace3 100644 --- a/eclass/mythtv-plugins.eclass +++ b/eclass/mythtv-plugins.eclass @@ -1,10 +1,12 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.1 2005/05/20 02:39:14 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.2 2005/05/27 23:24:09 eradicator Exp $ # # Author: Doug Goldstein <cardoe@gentoo.org # +inherit multilib + ECLASS=mythtv-plugins INHERITED="${INHERITED} ${ECLASS} debug" IUSE="${IUSE} mmx" @@ -32,6 +34,11 @@ mythtv-plugins_src_unpack() { -i 'settings.pro' || die "ciaranm sucks" #sed -e "/^QMAKE_CFLAGS_RELEASE/s!= .*!= ${CFLAGS}!" #-i 'settings.pro' || die "Fixing Qmake's CFLAGS failed" + + find ${S} -name '*.pro' -exec sed -i \ + -e "s:\$\${PREFIX}/lib/:\$\${PREFIX}/$(get_libdir)/:g" \ + -e "s:\$\${PREFIX}/lib$:\$\${PREFIX}/$(get_libdir):g" \ + {} \; } mythtv-plugins_src_compile() { |