dev-python/PyECLib: really fix it this time...
authorMatthew Thode <mthode@mthode.org>
Wed, 26 Aug 2015 21:52:54 +0000 (16:52 -0500)
committerMatthew Thode <mthode@mthode.org>
Wed, 26 Aug 2015 21:55:23 +0000 (16:55 -0500)
Package-Manager: portage-2.2.20.1

dev-python/PyECLib/PyECLib-1.0.7-r1.ebuild
dev-python/PyECLib/PyECLib-1.0.7.ebuild
dev-python/PyECLib/files/PyECLib-usr-local.patch

index 772f0768928c11b8cb7d7c91b944e2a61562e144..46a3b946ae75015fffbb5d1d886ef2934b924bcc 100644 (file)
@@ -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
 }
index cf533ffc80e26e982e72366f1c725fb17c36a100..acfd959cdaf50dd3f71e62a7febeaa0b734bd893 100644 (file)
@@ -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
 }
index d2697c43cf445d7d44745d853446aef1e4dcb2b0..2d923b226cdd83cde7581ee1927611b7270964be 100644 (file)
@@ -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)