aports/main/rssh/makefile.patch
Jakub Jirutka e6707fd74d main/rssh: move from community
I think that rssh is worthy of being in the main repository; it's
stable, trustworthy and has very long history.
2021-01-09 12:44:33 +01:00

18 lines
478 B
Diff

Upstream: No
Reason: Respect required environment variables
--- a/Makefile.in
+++ b/Makefile.in
@@ -727,10 +727,10 @@ uninstall-man: uninstall-man1 uninstall-
.c.o:
- $(CC) -c $(DEFS) $(ourdefs) $(AM_CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
+ $(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