summaryrefslogtreecommitdiff
path: root/lang/gforth/patches/patch-aa
blob: fa11b480bd58e1d4f0654db109b2ea53aa57c4f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-aa,v 1.3 2003/12/05 00:26:38 uebayasi Exp $

--- Makefile.in.orig	Mon Aug 25 16:57:49 2003
+++ Makefile.in
@@ -51,7 +51,7 @@ osclass = @OSCLASS@
 # -------------	Utility programs
 
 SHELL	= /bin/sh
-RM	= rm
+RM	= rm -f
 RMTREE	= rm -rf
 CP	= cp -p
 MV	= mv
@@ -60,6 +60,7 @@ INSTALL	= @INSTALL@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_INFO = @INSTALL_INFO@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
 LN_S	= @LN_S@
 GCC	= @CC@
 CC	= $(GCC)
@@ -528,8 +529,8 @@ install:	gforth$(EXE) $(FORTH_SRC) $(ker
 		(cd $(bindir) && $(LN_S) gforth-fast-$(VERSION)$(EXE) gforth-fast$(EXE))
 		$(INSTALL_PROGRAM) -s gforth-itc$(EXE) $(bindir)/gforth-itc-$(VERSION)$(EXE)
 		(cd $(bindir) && $(LN_S) gforth-itc-$(VERSION)$(EXE) gforth-itc$(EXE))
-		$(INSTALL_PROGRAM) gforthmi $(bindir)/gforthmi-$(VERSION)
-		$(INSTALL_PROGRAM) vmgen $(bindir)/vmgen-$(VERSION)
+		$(INSTALL_SCRIPT) gforthmi $(bindir)/gforthmi-$(VERSION)
+		$(INSTALL_SCRIPT) vmgen $(bindir)/vmgen-$(VERSION)
 		$(INSTALL_PROGRAM) gforth-ditc $(libdir)/gforth/$(VERSION)
 		(cd $(bindir) && $(LN_S) gforthmi-$(VERSION) gforthmi)
 		(cd $(bindir) && $(LN_S) vmgen-$(VERSION) vmgen)