openbsd-ports/misc/sh-utils/patches/patch-src_Makefile_in
2001-03-15 17:15:04 +00:00

22 lines
623 B
Plaintext

$OpenBSD: patch-src_Makefile_in,v 1.2 2001/03/15 17:15:04 brad Exp $
--- src/Makefile.in.orig Sat Aug 14 11:42:37 1999
+++ src/Makefile.in Thu Mar 15 11:24:44 2001
@@ -150,7 +150,7 @@ su_DEPENDENCIES = $(LDADD)
SUFFIXES = .sh
-installed_su = $(bindir)/`echo su|sed '$(transform)'`
+installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'`
setuid_root_mode = a=rx,u+s
@@ -893,7 +893,7 @@ install-root: su
@$(INSTALL_SU)
install-exec-local: su
- @TMPFILE=$(bindir)/.su-$$$$; \
+ @TMPFILE=$(DESTDIR)$(bindir)/.su-$$$$; \
rm -f $$TMPFILE; \
echo > $$TMPFILE; \
can_create_suid_root_executable=no; \