summaryrefslogtreecommitdiff
path: root/user/cifs-utils/respect-destdir.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 07:29:26 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 07:29:26 +0000
commit0c07e5527143292dc7bc25cfcabce8f7a32871b9 (patch)
treef4921079c82eec48e24b04a04d128a5dc5b6f7b0 /user/cifs-utils/respect-destdir.patch
parente42c6d71eaba50c4b555674eea46140b066be2ce (diff)
downloadpackages-0c07e5527143292dc7bc25cfcabce8f7a32871b9.tar.gz
packages-0c07e5527143292dc7bc25cfcabce8f7a32871b9.tar.bz2
packages-0c07e5527143292dc7bc25cfcabce8f7a32871b9.tar.xz
packages-0c07e5527143292dc7bc25cfcabce8f7a32871b9.zip
user/cifs-utils: Bump to 6.10
Diffstat (limited to 'user/cifs-utils/respect-destdir.patch')
-rw-r--r--user/cifs-utils/respect-destdir.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/user/cifs-utils/respect-destdir.patch b/user/cifs-utils/respect-destdir.patch
new file mode 100644
index 000000000..6330efc38
--- /dev/null
+++ b/user/cifs-utils/respect-destdir.patch
@@ -0,0 +1,18 @@
+--- cifs-utils-6.10/Makefile.am.old 2019-12-16 23:34:56.000000000 +0000
++++ cifs-utils-6.10/Makefile.am 2020-01-09 07:28:27.635229782 +0000
+@@ -119,11 +119,11 @@
+ SUBDIRS = contrib
+
+ install-exec-hook:
+- (cd $(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
++ (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
+
+ install-data-hook:
+- (cd $(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
++ (cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
+
+ uninstall-hook:
+- (cd $(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)
+- (cd $(man8dir) && rm -f $(man8dir)/mount.smb3.8)
++ (cd $(DESTDIR)$(ROOTSBINDIR) && rm -f $(DESTDIR)$(ROOTSBINDIR)/mount.smb3)
++ (cd $(DESTDIR)$(man8dir) && rm -f $(DESTDIR)$(man8dir)/mount.smb3.8)