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

19 lines
526 B
Text

$NetBSD: patch-ab,v 1.2 2008/09/05 02:07:51 dholland Exp $
cp(1) cannot overwrite read-only files.
Add destdir support.
--- lib/Makefile.orig 1997-11-12 11:49:46.000000000 -0500
+++ lib/Makefile 2008-09-04 21:39:14.000000000 -0400
@@ -31,8 +31,8 @@ clean:
rm -f filename.ml genlex.ml
install:
- cp stdlib.zo *.zi *.zix *.mli *.ml $(LIBDIR)
- rm $(LIBDIR)/iparsing.mli
+ pax -wr stdlib.zo *.zi *.zix *.mli *.ml $(DESTDIR)$(LIBDIR)
+ rm $(DESTDIR)$(LIBDIR)/iparsing.mli
.SUFFIXES :
.SUFFIXES : .ml .mli .zi .zo .mlp