pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/osh Use the right install program for correctne...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f37b1dbb695
branches:  trunk
changeset: 461854:1f37b1dbb695
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Sep 22 20:57:12 2003 +0000

description:
Use the right install program for correctness and to fix problems under SunOS.
>From PR pkg/22898 by Jonathan Perkin.

diffstat:

 shells/osh/distinfo         |   4 ++--
 shells/osh/patches/patch-aa |  29 +++++++++++++++--------------
 2 files changed, 17 insertions(+), 16 deletions(-)

diffs (57 lines):

diff -r ff9f070fb600 -r 1f37b1dbb695 shells/osh/distinfo
--- a/shells/osh/distinfo       Mon Sep 22 20:32:02 2003 +0000
+++ b/shells/osh/distinfo       Mon Sep 22 20:57:12 2003 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/08/20 20:52:29 cjep Exp $
+$NetBSD: distinfo,v 1.2 2003/09/22 20:57:12 jmmv Exp $
 
 SHA1 (osh-020214.tar.gz) = 3626dd0bcd2152a9173fa9fc9183674699db8ec4
 Size (osh-020214.tar.gz) = 10639 bytes
-SHA1 (patch-aa) = 9f587d67a0db386b141e504fbd2b61a6c6e32d52
+SHA1 (patch-aa) = 213431251f3df82dd2b1405b115a64333838c4e2
diff -r ff9f070fb600 -r 1f37b1dbb695 shells/osh/patches/patch-aa
--- a/shells/osh/patches/patch-aa       Mon Sep 22 20:32:02 2003 +0000
+++ b/shells/osh/patches/patch-aa       Mon Sep 22 20:57:12 2003 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/08/20 20:52:29 cjep Exp $
+$NetBSD: patch-aa,v 1.2 2003/09/22 20:57:13 jmmv Exp $
 
 --- makefile.orig      Thu Feb 14 00:11:14 2002
-+++ makefile
-@@ -2,11 +2,10 @@
++++ makefile   Mon Sep 22 20:29:15 2003
+@@ -2,7 +2,6 @@
  
  # CONFIGURATION
  
@@ -10,18 +10,19 @@
  BINDIR     = $(PREFIX)/bin
  MANDIR     = $(PREFIX)/man
  MANSECT    = $(MANDIR)/man1
--INSTALL          = /usr/ucb/install
-+INSTALL          = /usr/bin/install
- 
- # CONFIGURATION ENDS
+@@ -29,9 +28,9 @@
+       rm -f osh osh.o goto goto.o if if.o core log *~
  
-@@ -32,6 +31,6 @@
-       $(INSTALL) -c -s osh $(BINDIR)
-       $(INSTALL) -c -s goto $(BINDIR)
-       $(INSTALL) -c -s if $(BINDIR)
+ install: all
+-      $(INSTALL) -c -s osh $(BINDIR)
+-      $(INSTALL) -c -s goto $(BINDIR)
+-      $(INSTALL) -c -s if $(BINDIR)
 -      $(INSTALL) -c -m 644 osh.1 $(MANSECT)
 -      $(INSTALL) -c -m 644 goto.1 $(MANSECT)
 -      $(INSTALL) -c -m 644 if.1 $(MANSECT)
-+      $(INSTALL) -c -m 444 osh.1 $(MANSECT)
-+      $(INSTALL) -c -m 444 goto.1 $(MANSECT)
-+      $(INSTALL) -c -m 444 if.1 $(MANSECT)
++      $(BSD_INSTALL_PROGRAM) osh $(BINDIR)/osh
++      $(BSD_INSTALL_PROGRAM) goto $(BINDIR)/goto
++      $(BSD_INSTALL_PROGRAM) if $(BINDIR)/if
++      $(BSD_INSTALL_MAN) osh.1 $(MANSECT)/osh.1
++      $(BSD_INSTALL_MAN) goto.1 $(MANSECT)/goto.1
++      $(BSD_INSTALL_MAN) if.1 $(MANSECT)/if.1



Home | Main Index | Thread Index | Old Index