pkgsrc/lang/caml-light/patches/patch-ar
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

25 lines
776 B
Text

$NetBSD: patch-ar,v 1.1 2008/09/05 02:07:51 dholland Exp $
destdir support.
--- toplevel/Makefile~ 1997-11-12 11:50:29.000000000 -0500
+++ toplevel/Makefile 2008-09-04 21:36:13.000000000 -0400
@@ -57,12 +57,12 @@ clean:
rm -f $(GENSOURCES)
install:
- cp camltop $(LIBDIR)/camltop
- cp toplevel.mli toplevel.zi $(LIBDIR)
- cp provide $(LIBDIR)/provide
- cp expunge $(LIBDIR)/expunge
- cp toplib.zo $(LIBDIR)/toplib.zo
- cp topmain.zo $(LIBDIR)/topmain.zo
+ cp camltop $(DESTDIR)$(LIBDIR)/camltop
+ cp toplevel.mli toplevel.zi $(DESTDIR)$(LIBDIR)
+ cp provide $(DESTDIR)$(LIBDIR)/provide
+ cp expunge $(DESTDIR)$(LIBDIR)/expunge
+ cp toplib.zo $(DESTDIR)$(LIBDIR)/toplib.zo
+ cp topmain.zo $(DESTDIR)$(LIBDIR)/topmain.zo
.SUFFIXES :
.SUFFIXES : .mli .ml .zi .zo .mlp