summaryrefslogtreecommitdiff
path: root/shells/osh/patches
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-09-22 20:57:12 +0000
committerjmmv <jmmv@pkgsrc.org>2003-09-22 20:57:12 +0000
commit4c505d4f473053f86e9d3a21d7917d017030be95 (patch)
treed85079bc8350569faaad75c67bc2fe853eab2120 /shells/osh/patches
parentbb4bb32fd0a47e60af332b3b1e9ce8ceb402887c (diff)
downloadpkgsrc-4c505d4f473053f86e9d3a21d7917d017030be95.tar.gz
Use the right install program for correctness and to fix problems under SunOS.
From PR pkg/22898 by Jonathan Perkin.
Diffstat (limited to 'shells/osh/patches')
-rw-r--r--shells/osh/patches/patch-aa29
1 files changed, 15 insertions, 14 deletions
diff --git a/shells/osh/patches/patch-aa b/shells/osh/patches/patch-aa
index 3292d846392..b5a15bbe5e5 100644
--- a/shells/osh/patches/patch-aa
+++ b/shells/osh/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/08/20 20:52:29 cjep Exp $
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/man
MANSECT = $(MANDIR)/man1
--INSTALL = /usr/ucb/install
-+INSTALL = /usr/bin/install
+@@ -29,9 +28,9 @@
+ rm -f osh osh.o goto goto.o if if.o core log *~
- # CONFIGURATION ENDS
-
-@@ -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