summaryrefslogtreecommitdiff
path: root/dev-python/PyECLib/PyECLib-1.0.7.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/PyECLib/PyECLib-1.0.7.ebuild')
-rw-r--r--dev-python/PyECLib/PyECLib-1.0.7.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-python/PyECLib/PyECLib-1.0.7.ebuild b/dev-python/PyECLib/PyECLib-1.0.7.ebuild
index 7e2428fc6764..cf533ffc80e2 100644
--- a/dev-python/PyECLib/PyECLib-1.0.7.ebuild
+++ b/dev-python/PyECLib/PyECLib-1.0.7.ebuild
@@ -19,4 +19,12 @@ IUSE="test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-libs/liberasurecode"
-PATCHES=( "${FILESDIR}/1.0.7-erasurecode_locations.patch" )
+PATCHES=(
+ "${FILESDIR}/1.0.7-erasurecode_locations.patch"
+ "${FILESDIR}/PyECLib-usr-local.patch"
+)
+
+python_install() {
+ distutils-r1_python_install
+ sed -i "s/^libdir.*$/libdir='\/usr\/lib'/g" "${D}"/usr/lib/libgf_complete.la || die
+}