summaryrefslogtreecommitdiff
path: root/package/lvm/patches/patch-make_tmpl_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-30 20:20:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-30 20:20:57 +0200
commite2454e75ec1ee4aa50af8e96838c3feb53904d08 (patch)
tree5a05596c49e3e1533236c478434e79660c5345b0 /package/lvm/patches/patch-make_tmpl_in
parentee19c86dc8f3d69e9082d45d2824a18710311ecb (diff)
parent76acdb984750a027ddc2fc899e5a15d95251bb49 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/lvm/patches/patch-make_tmpl_in')
-rw-r--r--package/lvm/patches/patch-make_tmpl_in28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/lvm/patches/patch-make_tmpl_in b/package/lvm/patches/patch-make_tmpl_in
new file mode 100644
index 000000000..7ffbb36b5
--- /dev/null
+++ b/package/lvm/patches/patch-make_tmpl_in
@@ -0,0 +1,28 @@
+--- LVM2.2.02.72.orig/make.tmpl.in Tue Jul 20 16:38:44 2010
++++ LVM2.2.02.72/make.tmpl.in Fri Jul 30 10:22:54 2010
+@@ -312,7 +312,8 @@ $(LIB_SHARED): $(LIB_SHARED).$(LIB_VERSION)
+ $(LN_S) -f $(<F) $@
+
+ install_lib_shared: $(LIB_SHARED)
+- $(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION)
++ $(INSTALL_DIR) $(libdir)
++ $(INSTALL_PROGRAM) $< $(libdir)/$(<F).$(LIB_VERSION)
+ $(INSTALL_DIR) $(usrlibdir)
+ $(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F)
+
+@@ -320,11 +321,13 @@ install_lib_shared: $(LIB_SHARED)
+ # and for compatibility links in libdir are created
+ # when the code is fixed links could be removed.
+ install_dm_plugin: $(LIB_SHARED)
+- $(INSTALL_PROGRAM) -D $< $(libdir)/device-mapper/$(<F)
++ $(INSTALL_DIR) $(libdir)
++ $(INSTALL_PROGRAM) $< $(libdir)/device-mapper/$(<F)
+ $(LN_S) -f device-mapper/$(<F) $(libdir)/$(<F)
+
+ install_lvm2_plugin: $(LIB_SHARED)
+- $(INSTALL_PROGRAM) -D $< $(libdir)/lvm2/$(<F)
++ $(INSTALL_DIR) $(libdir)
++ $(INSTALL_PROGRAM) $< $(libdir)/lvm2/$(<F)
+ $(LN_S) -f lvm2/$(<F) $(libdir)/$(<F)
+ $(LN_S) -f $(<F) $(libdir)/$(<F).$(LIB_VERSION)
+ endif