diff options
author | joerg <joerg> | 2010-02-19 15:34:10 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-19 15:34:10 +0000 |
commit | d764110a94bc1e5ecaddb0eb4fe8d6668c95396b (patch) | |
tree | 86a5531a6fdc62c0ac45ce8b8d5058a8e884ed8f | |
parent | eae4ed9dce2350e67f634c6ffc0b9dbd5b2296ab (diff) | |
download | pkgsrc-d764110a94bc1e5ecaddb0eb4fe8d6668c95396b.tar.gz |
Allow unprivileged installation.
-rw-r--r-- | net/ttt/patches/patch-ae | 25 | ||||
-rw-r--r-- | print/stylewriter/Makefile | 3 |
2 files changed, 27 insertions, 1 deletions
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: diff --git a/print/stylewriter/Makefile b/print/stylewriter/Makefile index d22683adc1f..032c42e5d75 100644 --- a/print/stylewriter/Makefile +++ b/print/stylewriter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2010/02/12 00:12:11 joerg Exp $ +# $NetBSD: Makefile,v 1.23 2010/02/19 15:34:10 joerg Exp $ # DISTNAME= stylewriter @@ -15,6 +15,7 @@ PKG_DESTDIR_SUPPORT= user-destdir DEPENDS+= enscript>=1.6.3nb1:../../print/enscript +USE_BSD_MAKEFILE= yes USE_TOOLS+= gs:run NO_CONFIGURE= yes |