Package-Manager: portage-2.2.20.1
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
}
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
}
- 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)