summarylogtreecommitdiffstats
path: root/0007-destdir.patch
diff options
context:
space:
mode:
authorChristian Hesse2015-06-30 11:44:28 +0200
committerChristian Hesse2015-06-30 11:44:28 +0200
commit12aafec21d5121eb43159d696998f166e725fbbf (patch)
tree309e0a9fa986b891a28bf7b3f803440d6bb58822 /0007-destdir.patch
downloadaur-rssh.tar.gz
initial import of rssh 2.3.4-5
Diffstat (limited to '0007-destdir.patch')
-rw-r--r--0007-destdir.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/0007-destdir.patch b/0007-destdir.patch
new file mode 100644
index 000000000000..90fa03e6d9ed
--- /dev/null
+++ b/0007-destdir.patch
@@ -0,0 +1,24 @@
+diff -aur old//Makefile.am new//Makefile.am
+--- old//Makefile.am 2006-12-21 23:22:37.000000000 +0100
++++ new//Makefile.am 2010-11-25 18:15:29.253376150 +0100
+@@ -16,7 +16,7 @@
+ $(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
+
+ install-exec-hook:
+- chmod u+s $(libexecdir)/rssh_chroot_helper
++ chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper
+
+ rpm: dist
+ rpmbuild -ta --sign $(base).tar.gz
+diff -aur old//Makefile.in new//Makefile.in
+--- old//Makefile.in 2010-08-01 15:59:54.000000000 +0200
++++ new//Makefile.in 2010-11-25 18:15:29.253376150 +0100
+@@ -830,7 +830,7 @@
+ $(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
+
+ install-exec-hook:
+- chmod u+s $(libexecdir)/rssh_chroot_helper
++ chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper
+
+ rpm: dist
+ rpmbuild -ta --sign $(base).tar.gz