summaryrefslogtreecommitdiff
path: root/lang/caml-light/patches/patch-aq
blob: a11a9ebbc4cb64aee7b397a42e7fe944cd83893b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aq,v 1.1 2008/09/05 02:07:51 dholland Exp $

destdir support.

--- librar/Makefile~	1997-11-12 11:50:13.000000000 -0500
+++ librar/Makefile	2008-09-04 21:35:38.000000000 -0400
@@ -23,8 +23,8 @@ clean:
 	rm -f $(GENSOURCES)
 
 install:
-	cat $(LIBDIR)/header camllibr > $(BINDIR)/camllibr
-	chmod a+x $(BINDIR)/camllibr
+	cat $(DESTDIR)$(LIBDIR)/header camllibr > $(DESTDIR)$(BINDIR)/camllibr
+	chmod a+x $(DESTDIR)$(BINDIR)/camllibr
 
 .SUFFIXES :
 .SUFFIXES : .mli .ml .zi .zo .mlp