diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-05-27 23:24:09 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-05-27 23:24:09 +0000 |
commit | cde61b2b180440706822ec90c7caae4bdd0939a3 (patch) | |
tree | 6f7a27581b3a2e56c228e0b9b97940039512b8b2 /eclass | |
parent | Version bumped, Bug 93702. (diff) | |
download | gentoo-2-cde61b2b180440706822ec90c7caae4bdd0939a3.tar.gz gentoo-2-cde61b2b180440706822ec90c7caae4bdd0939a3.tar.bz2 gentoo-2-cde61b2b180440706822ec90c7caae4bdd0939a3.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() { |