patch-make_tmpl_in 1.1 KB

12345678910111213141516171819202122232425262728
  1. --- LVM2.2.02.79.orig/make.tmpl.in 2010-11-05 17:18:38.000000000 +0100
  2. +++ LVM2.2.02.79/make.tmpl.in 2010-12-26 22:15:11.000000000 +0100
  3. @@ -322,7 +322,8 @@ $(LIB_SHARED): $(LIB_SHARED).$(LIB_VERSI
  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. @@ -330,11 +331,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