summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-02-21 01:44:07 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-02-21 01:44:07 +0000
commit99e64a614c7fc6447fb0c6391af181ae814035a0 (patch)
tree4ab6233a3dba031b5df3a2f76b4a0362cc01b3eb /eclass/myth.eclass
parentRefactored apache2_pkg_setup (diff)
downloadgentoo-2-99e64a614c7fc6447fb0c6391af181ae814035a0.tar.gz
gentoo-2-99e64a614c7fc6447fb0c6391af181ae814035a0.tar.bz2
gentoo-2-99e64a614c7fc6447fb0c6391af181ae814035a0.zip
Multilib cleanup.
Diffstat (limited to 'eclass/myth.eclass')
-rw-r--r--eclass/myth.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/myth.eclass b/eclass/myth.eclass
index 43c0e6e71dae..326481efade1 100644
--- a/eclass/myth.eclass
+++ b/eclass/myth.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/myth.eclass,v 1.6 2005/02/12 06:52:42 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/myth.eclass,v 1.7 2005/02/21 01:44:07 eradicator Exp $
#
# Author: Daniel Ahlberg <aliz@gentoo.org>
#
@@ -37,6 +37,11 @@ myth_src_unpack() {
-i 'settings.pro' || die "enable debug failed"
fi
+ find ${S} -name '*.pro' -exec sed -i \
+ -e "s:\$\${PREFIX}/lib/:\$\${PREFIX}/$(get_libdir)/:g" \
+ -e "s:\$\${PREFIX}/lib$:\$\${PREFIX}/$(get_libdir):g" \
+ {} \;
+
setup_pro
}