summaryrefslogtreecommitdiff
path: root/lang/caml-light/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'lang/caml-light/patches/patch-ao')
-rw-r--r--lang/caml-light/patches/patch-ao15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/caml-light/patches/patch-ao b/lang/caml-light/patches/patch-ao
new file mode 100644
index 00000000000..77f0607f565
--- /dev/null
+++ b/lang/caml-light/patches/patch-ao
@@ -0,0 +1,15 @@
+$NetBSD: patch-ao,v 1.1 2008/09/05 02:07:51 dholland Exp $
+
+destdir support.
+
+--- compiler/Makefile~ 1997-11-12 11:48:14.000000000 -0500
++++ compiler/Makefile 2008-09-04 21:34:41.000000000 -0400
+@@ -32,7 +32,7 @@ clean:
+ rm -f $(GENSOURCES) lexer.mll
+
+ install:
+- cp camlcomp $(LIBDIR)/camlcomp
++ cp camlcomp $(DESTDIR)$(LIBDIR)/camlcomp
+
+ opcodes.ml: ../runtime/instruct.h
+ sed -n -e '/^enum/p' -e 's/,//' -e '/^ /p' ../runtime/instruct.h | \