From 8acb64a78977d7e6cb45491d3601391e4dca7c67 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 19 Feb 2010 15:34:10 +0000 Subject: Allow unprivileged installation. --- net/ttt/patches/patch-ae | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 net/ttt/patches/patch-ae (limited to 'net/ttt') diff --git a/net/ttt/patches/patch-ae b/net/ttt/patches/patch-ae new file mode 100644 index 00000000000..eb80cf4782d --- /dev/null +++ b/net/ttt/patches/patch-ae @@ -0,0 +1,25 @@ +$NetBSD: patch-ae,v 1.1 2010/02/19 15:38:07 joerg Exp $ + +--- Makefile.in.orig 2010-02-19 15:34:56.000000000 +0000 ++++ Makefile.in +@@ -94,17 +94,16 @@ text_viewer.o: viewer.c + + install: all + for i in ttt tttprobe tttview; do \ +- $(INSTALL) -m 555 -o bin -g bin $$i $(bindir); \ ++ $(BSD_INSTALL_PROGRAM) $$i $(bindir); \ + done + if [ ! -d $(libdir) ]; then \ + mkdir $(libdir); \ + fi +- $(INSTALL) -m 444 -o bin -g bin ttt.tcl $(libdir) ++ $(BSD_INSTALL_SCRIPT) ttt.tcl $(libdir) + + install-man: + for i in ttt tttprobe tttview; do \ +- $(INSTALL) -m 444 -o bin -g bin $$i.1 \ +- $(mandir)/man1; \ ++ $(BSD_INSTALL_MAN) $$i.1 $(mandir)/man1; \ + done + + clean: -- cgit v1.2.3