aports/community/rssh/makefile.patch
Michał Polański 069decf0b4 community/rssh: use SPDX license identifier
and fix linter warnings
2020-08-02 18:58:31 +00:00

19 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