ntfsprogs_destdir.patch 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. diff -Naur ntfs-3g_ntfsprogs-2015.3.14.orig/ntfsprogs/Makefile.in ntfs-3g_ntfsprogs-2015.3.14/ntfsprogs/Makefile.in
  2. --- ntfs-3g_ntfsprogs-2015.3.14.orig/ntfsprogs/Makefile.in 2015-03-14 16:10:28.000000000 +0200
  3. +++ ntfs-3g_ntfsprogs-2015.3.14/ntfsprogs/Makefile.in 2015-05-06 10:22:31.563526903 +0300
  4. @@ -1348,15 +1348,15 @@
  5. # mkfs.ntfs[.8] hard link
  6. @ENABLE_NTFSPROGS_TRUE@install-exec-hook:
  7. -@ENABLE_NTFSPROGS_TRUE@ $(INSTALL) -d $(DESTDIR)/sbin
  8. -@ENABLE_NTFSPROGS_TRUE@ $(LN_S) -f $(sbindir)/mkntfs $(DESTDIR)/sbin/mkfs.ntfs
  9. +@ENABLE_NTFSPROGS_TRUE@ $(INSTALL) -d $(DESTDIR)/usr/bin
  10. +@ENABLE_NTFSPROGS_TRUE@ $(LN_S) -f $(sbindir)/mkntfs $(DESTDIR)/usr/bin/mkfs.ntfs
  11. @ENABLE_NTFSPROGS_TRUE@install-data-hook:
  12. @ENABLE_NTFSPROGS_TRUE@ $(INSTALL) -d $(DESTDIR)$(man8dir)
  13. @ENABLE_NTFSPROGS_TRUE@ $(LN_S) -f mkntfs.8 $(DESTDIR)$(man8dir)/mkfs.ntfs.8
  14. @ENABLE_NTFSPROGS_TRUE@uninstall-local:
  15. -@ENABLE_NTFSPROGS_TRUE@ $(RM) -f $(DESTDIR)/sbin/mkfs.ntfs
  16. +@ENABLE_NTFSPROGS_TRUE@ $(RM) -f $(DESTDIR)/usr/bin/mkfs.ntfs
  17. @ENABLE_NTFSPROGS_TRUE@ $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ntfs.8
  18. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  19. diff -Naur ntfs-3g_ntfsprogs-2015.3.14.orig/src/Makefile.in ntfs-3g_ntfsprogs-2015.3.14/src/Makefile.in
  20. --- ntfs-3g_ntfsprogs-2015.3.14.orig/src/Makefile.in 2015-03-14 16:10:28.000000000 +0200
  21. +++ ntfs-3g_ntfsprogs-2015.3.14/src/Makefile.in 2015-05-06 10:22:31.566526903 +0300
  22. @@ -1040,9 +1040,9 @@
  23. @ENABLE_NTFS_3G_TRUE@@RUN_LDCONFIG_TRUE@ $(LDCONFIG)
  24. @ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@install-exec-local: install-rootbinPROGRAMS
  25. -@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(MKDIR_P) "$(DESTDIR)/sbin"
  26. -@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/sbin/mount.ntfs-3g"
  27. -@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(LN_S) -f "$(rootbindir)/lowntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g"
  28. +@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(MKDIR_P) "$(DESTDIR)/usr/bin"
  29. +@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/usr/bin/mount.ntfs-3g"
  30. +@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(LN_S) -f "$(rootbindir)/lowntfs-3g" "$(DESTDIR)/usr/bin/mount.lowntfs-3g"
  31. @ENABLE_NTFS_3G_TRUE@install-data-local: install-man8
  32. @ENABLE_NTFS_3G_TRUE@ $(LN_S) -f ntfs-3g.8 "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8"
  33. @@ -1050,7 +1050,7 @@
  34. @ENABLE_NTFS_3G_TRUE@uninstall-local:
  35. @ENABLE_NTFS_3G_TRUE@ $(RM) -f "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8"
  36. -@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(RM) -f "$(DESTDIR)/sbin/mount.ntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g"
  37. +@ENABLE_MOUNT_HELPER_TRUE@@ENABLE_NTFS_3G_TRUE@ $(RM) -f "$(DESTDIR)/usr/bin/mount.ntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g"
  38. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  39. # Otherwise a system limit (for SysV at least) may be exceeded.