summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2017-11-20 16:03:32 -0800
committerJason Zaman <perfinion@gentoo.org>2018-05-25 15:58:08 +0800
commitf1a601ea7ce7c44a655644bdae0c684a14a3e9d9 (patch)
tree2f6f2f91c706f5ea9fe159b5a70fd76bc8c918d6 /app-admin/setools
parentdev-lang/julia: fix Prefix installation, thanks Chris Rorvick, bug #651954 (diff)
downloadgentoo-f1a601ea7ce7c44a655644bdae0c684a14a3e9d9.tar.gz
gentoo-f1a601ea7ce7c44a655644bdae0c684a14a3e9d9.tar.bz2
gentoo-f1a601ea7ce7c44a655644bdae0c684a14a3e9d9.zip
app-admin/setools: Fix cross compile
Closes: https://bugs.gentoo.org/638286 Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'app-admin/setools')
-rw-r--r--app-admin/setools/setools-4.1.1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-admin/setools/setools-4.1.1.ebuild b/app-admin/setools/setools-4.1.1.ebuild
index 03451253583d..5142d939a869 100644
--- a/app-admin/setools/setools-4.1.1.ebuild
+++ b/app-admin/setools/setools-4.1.1.ebuild
@@ -44,6 +44,8 @@ DEPEND="${RDEPEND}
python_prepare_all() {
sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
+ sed -i "s@^base_lib_dirs = .*@base_lib_dirs = ['${ROOT:-/}usr/lib','${ROOT:-/}usr/lib64']@g" "${S}"/setup.py || \
+ die "failed to set base_lib_dirs"
use X || local PATCHES=( "${FILESDIR}"/setools-4.1.1-remove-gui.patch )
distutils-r1_python_prepare_all