From 0f38182c0a6a9470cebcba73f34a5752705747af Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 23 Sep 2003 13:39:40 +0000 Subject: Fix installation on Solaris. From Jonathan Perkin in PR 22908. --- sysutils/osname/distinfo | 3 ++- sysutils/osname/patches/patch-aa | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 sysutils/osname/patches/patch-aa diff --git a/sysutils/osname/distinfo b/sysutils/osname/distinfo index 3ba50a72505..9d64033d162 100644 --- a/sysutils/osname/distinfo +++ b/sysutils/osname/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.2 2001/04/19 11:29:06 agc Exp $ +$NetBSD: distinfo,v 1.3 2003/09/23 13:39:40 wiz Exp $ SHA1 (osname-1.1.tar.gz) = 4faefdd1b57412805342314b540d909a3289a8ba Size (osname-1.1.tar.gz) = 1531 bytes +SHA1 (patch-aa) = a4a3fccf8ebd4a75a478cdd53cff57c5df9d5b6e diff --git a/sysutils/osname/patches/patch-aa b/sysutils/osname/patches/patch-aa new file mode 100644 index 00000000000..91c35646e29 --- /dev/null +++ b/sysutils/osname/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2003/09/23 13:39:41 wiz Exp $ + +--- Makefile.orig Tue Sep 23 10:30:17 2003 ++++ Makefile Tue Sep 23 10:31:00 2003 +@@ -7,8 +7,8 @@ + all: $(CMD) + + install: $(CMD) +- install -c $(CMD) ${PREFIX}/bin/$(CMD) +- install -m 664 $(CMD).1 ${PREFIX}/man/man1 ++ ${BSD_INSTALL_SCRIPT} $(CMD) ${PREFIX}/bin/$(CMD) ++ ${BSD_INSTALL_MAN} $(CMD).1 ${PREFIX}/man/man1/$(CMD).1 + + clean: + rm -f $(CMD) -- cgit v1.2.3