pkgsrc/lang/caml-light/patches/patch-ao
dholland 3b06c79f86 Fix broken 64-bit build. Add destdir support.
PKGREVISION++, because I changed some things around.
2008-09-05 02:07:51 +00:00

15 lines
449 B
Text

$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 | \