summaryrefslogtreecommitdiff
path: root/package/lvm/patches/patch-scripts_Makefile_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-28 07:43:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-28 07:44:06 +0200
commitcbf1cd6e78ddaa5ac07a2ce681dadcbe2ecbd731 (patch)
tree6ee025977113a1a6ae322f2596953c2159810c6c /package/lvm/patches/patch-scripts_Makefile_in
parentc26bc99715d56cb4b50d3557ac14855307746f7c (diff)
lvm: fix cross-compile on Darwin
Diffstat (limited to 'package/lvm/patches/patch-scripts_Makefile_in')
-rw-r--r--package/lvm/patches/patch-scripts_Makefile_in12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/lvm/patches/patch-scripts_Makefile_in b/package/lvm/patches/patch-scripts_Makefile_in
new file mode 100644
index 000000000..af1cea8cb
--- /dev/null
+++ b/package/lvm/patches/patch-scripts_Makefile_in
@@ -0,0 +1,12 @@
+--- LVM2.2.02.168.orig/scripts/Makefile.in 2016-12-01 00:17:31.000000000 +0100
++++ LVM2.2.02.168/scripts/Makefile.in 2017-03-27 20:49:38.000000000 +0200
+@@ -51,7 +51,8 @@ vpath %.sh $(srcdir)
+ vpath %.ocf $(srcdir)
+
+ %_install: %.sh
+- $(INSTALL_PROGRAM) -D $< $(sbindir)/$(basename $(<F))
++ $(INSTALL_DIR) $(sbindir)
++ $(INSTALL_PROGRAM) $< $(sbindir)/$(basename $(<F))
+
+ %_install: %.ocf
+ $(INSTALL_DIR) $(ocf_scriptdir)