summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/patches/patch-ac
blob: 274c22a2c29d58254a521cd2d41afa63aa366399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ac,v 1.3 1998/12/04 11:09:46 frueauf Exp $

--- launch/Makefile.orig	Mon Jul  7 03:38:39 1997
+++ launch/Makefile	Thu Dec  3 03:19:54 1998
@@ -14,11 +14,11 @@
 	chmod a+x /tmp/testscr
 	sh -c 'if sh -c /tmp/testscr 2>/dev/null; \
                then echo "#!$(BINDIR)/camlrunm" > $(LIBDIR)/header; \
-               else cp camlexec $(LIBDIR)/header; \
+               else ${INSTALL_PROGRAM} camlexec $(LIBDIR)/header; \
                fi'
 	rm -f /tmp/testscr
 	for script in mosml mosmlc; do \
-	  cp $$script $(BINDIR)/$$script; \
+	  ${INSTALL_SCRIPT} $$script $(BINDIR)/$$script; \
 	  chmod a+x $(BINDIR)/$$script; \
 	done