patch-Makefile_in 830 B

12345678910111213141516171819202122232425
  1. $OpenBSD: patch-Makefile_in,v 1.2 2009/05/25 18:50:30 benoit Exp $
  2. --- Makefile.in.orig Sat Jun 2 23:41:37 2007
  3. +++ Makefile.in Mon May 25 19:07:08 2009
  4. @@ -26,7 +26,7 @@ srcdir = @srcdir@
  5. # VPATH = @srcdir@
  6. CC = @CC@
  7. PROG = integrit
  8. -SBINDIR = @sbindir@
  9. +SBINDIR = ${PREFIX}/sbin
  10. INSTALL = @INSTALL@
  11. OBJ = @OBJ@
  12. ILIBOBJ = @ILIBOBJ@
  13. @@ -143,9 +143,9 @@ install : $(PROG)
  14. fi
  15. @if test ! -d $(SBINDIR); then \
  16. echo creating directory $(SBINDIR); \
  17. - $(INSTALL) -d -m 755 $(SBINDIR); \
  18. + $(INSTALL) -d -m $(DIRMODE) $(SBINDIR); \
  19. fi
  20. - $(INSTALL) $(STRIP) -m 755 $(PROG) $(SBINDIR)/$(PROG)
  21. + $(INSTALL) $(STRIP) -m $(DIRMODE) $(PROG) $(SBINDIR)/$(PROG)
  22. @echo
  23. @echo 'It is recommended that the binary be copied to a secure location and'
  24. @echo " re-copied to $(SBINDIR) at runtime or run directly"