From: Matthew Thode Date: Wed, 26 Aug 2015 21:52:54 +0000 (-0500) Subject: dev-python/PyECLib: really fix it this time... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=397435fe31fe7a8e7b615232b0fc0c64c701a619;p=gentoo.git dev-python/PyECLib: really fix it this time... Package-Manager: portage-2.2.20.1 --- diff --git a/dev-python/PyECLib/PyECLib-1.0.7-r1.ebuild b/dev-python/PyECLib/PyECLib-1.0.7-r1.ebuild index 772f0768928c..46a3b946ae75 100644 --- a/dev-python/PyECLib/PyECLib-1.0.7-r1.ebuild +++ b/dev-python/PyECLib/PyECLib-1.0.7-r1.ebuild @@ -26,5 +26,8 @@ PATCHES=( python_install() { distutils-r1_python_install - sed -i "s/^libdir.*$/libdir='\/usr\/lib'/g" "${D}"/usr/lib/libgf_complete.la || die + # sed -i "s/^libdir.*$/libdir='\/usr\/lib'/g" "${D}"/usr/lib/libgf_complete.la || die + # sed -i "s/^dependency_libs.*$/dependency_libs=''/g" "${D}"/usr/lib/libgf_complete.la "${D}"/usr/lib/libJerasure.la || die + # package installs broken la files... + rm "${D}"/usr/lib/*.la || die } diff --git a/dev-python/PyECLib/PyECLib-1.0.7.ebuild b/dev-python/PyECLib/PyECLib-1.0.7.ebuild index cf533ffc80e2..acfd959cdaf5 100644 --- a/dev-python/PyECLib/PyECLib-1.0.7.ebuild +++ b/dev-python/PyECLib/PyECLib-1.0.7.ebuild @@ -26,5 +26,5 @@ PATCHES=( python_install() { distutils-r1_python_install - sed -i "s/^libdir.*$/libdir='\/usr\/lib'/g" "${D}"/usr/lib/libgf_complete.la || die + rm "${D}"/usr/lib/*.la || die } diff --git a/dev-python/PyECLib/files/PyECLib-usr-local.patch b/dev-python/PyECLib/files/PyECLib-usr-local.patch index d2697c43cf44..2d923b226cdd 100644 --- a/dev-python/PyECLib/files/PyECLib-usr-local.patch +++ b/dev-python/PyECLib/files/PyECLib-usr-local.patch @@ -32,8 +32,8 @@ - libdirs = [ (topdir + "/" + locallibsrcdir + "/.libs "), - (topdir + "/" + locallibsrcdir + "/src/.libs ")] + libdirs = [] -+ #libdirs = [ (topdir + "/" + locallibsrcdir + "/.libs "), -+ # (topdir + "/" + locallibsrcdir + "/src/.libs ")] ++ libdirs = [ (topdir + "/" + locallibsrcdir + "/.libs "), ++ (topdir + "/" + locallibsrcdir + "/src/.libs ")] for d in libdirs: libflags = libflags + " -L" + d default_library_paths.append(d)