diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-22 12:29:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-22 12:29:44 +0000 |
commit | 180f0e17008daacf60da00602fd5928aa2fc6a2e (patch) | |
tree | 1a73cb156a48ffaefeb569962020486deec48b57 /main/kmod/sed-ere.patch | |
parent | 80a1175265075c66ddbe7a27a87f4b596cd0a223 (diff) | |
download | aports-180f0e17008daacf60da00602fd5928aa2fc6a2e.tar.bz2 aports-180f0e17008daacf60da00602fd5928aa2fc6a2e.tar.xz |
main/kmod: fix libkmod.so symlink and split completion
Diffstat (limited to 'main/kmod/sed-ere.patch')
-rw-r--r-- | main/kmod/sed-ere.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/kmod/sed-ere.patch b/main/kmod/sed-ere.patch new file mode 100644 index 0000000000..0721f816d6 --- /dev/null +++ b/main/kmod/sed-ere.patch @@ -0,0 +1,11 @@ +--- ./Makefile.in.orig ++++ ./Makefile.in +@@ -2816,7 +2816,7 @@ + if test "$(libdir)" != "$(rootlibdir)"; then \ + $(MKDIR_P) $(DESTDIR)$(rootlibdir) && \ + so_img_name=$$(readlink $(DESTDIR)$(libdir)/libkmod.so) && \ +- so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \ ++ so_img_rel_target_prefix=$$(echo $(libdir) | sed -E 's,(^/|)[^/][^/]*,..,g') && \ + ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libkmod.so && \ + mv $(DESTDIR)$(libdir)/libkmod.so.* $(DESTDIR)$(rootlibdir); \ + fi |