commit: f1a601ea7ce7c44a655644bdae0c684a14a3e9d9 Author: Geoff Levand <geoff <AT> infradead <DOT> org> AuthorDate: Tue Nov 21 00:03:32 2017 +0000 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> CommitDate: Fri May 25 07:58:08 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a601ea
app-admin/setools: Fix cross compile Closes: https://bugs.gentoo.org/638286 Signed-off-by: Geoff Levand <geoff <AT> infradead.org> Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> app-admin/setools/setools-4.1.1.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app-admin/setools/setools-4.1.1.ebuild b/app-admin/setools/setools-4.1.1.ebuild index 03451253583..5142d939a86 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
