patch-make_tmpl_in 1.1 KB

12345678910111213141516171819202122232425262728
  1. --- LVM2.2.02.72.orig/make.tmpl.in Tue Jul 20 16:38:44 2010
  2. +++ LVM2.2.02.72/make.tmpl.in Fri Jul 30 10:22:54 2010
  3. @@ -312,7 +312,8 @@ $(LIB_SHARED): $(LIB_SHARED).$(LIB_VERSION)
  4. $(LN_S) -f $(<F) $@
  5. install_lib_shared: $(LIB_SHARED)
  6. - $(INSTALL_PROGRAM) -D $< $(libdir)/$(<F).$(LIB_VERSION)
  7. + $(INSTALL_DIR) $(libdir)
  8. + $(INSTALL_PROGRAM) $< $(libdir)/$(<F).$(LIB_VERSION)
  9. $(INSTALL_DIR) $(usrlibdir)
  10. $(LN_S) -f $(USRLIB_RELPATH)$(<F).$(LIB_VERSION) $(usrlibdir)/$(<F)
  11. @@ -320,11 +321,13 @@ install_lib_shared: $(LIB_SHARED)
  12. # and for compatibility links in libdir are created
  13. # when the code is fixed links could be removed.
  14. install_dm_plugin: $(LIB_SHARED)
  15. - $(INSTALL_PROGRAM) -D $< $(libdir)/device-mapper/$(<F)
  16. + $(INSTALL_DIR) $(libdir)
  17. + $(INSTALL_PROGRAM) $< $(libdir)/device-mapper/$(<F)
  18. $(LN_S) -f device-mapper/$(<F) $(libdir)/$(<F)
  19. install_lvm2_plugin: $(LIB_SHARED)
  20. - $(INSTALL_PROGRAM) -D $< $(libdir)/lvm2/$(<F)
  21. + $(INSTALL_DIR) $(libdir)
  22. + $(INSTALL_PROGRAM) $< $(libdir)/lvm2/$(<F)
  23. $(LN_S) -f lvm2/$(<F) $(libdir)/$(<F)
  24. $(LN_S) -f $(<F) $(libdir)/$(<F).$(LIB_VERSION)
  25. endif