pkgsrc/archivers/ocaml-bz2/patches/patch-Makefile.in
jaapb 91f1473000 Imported camlbz2 0.6.0 as archivers/ocamlbz2. This closes PR pkg/41738.
This Objective Caml library provides easy access to compressed files in
bzip2 format. It provides functions for reading from and writing to compressed
files in these formats.
2012-09-16 12:30:46 +00:00

18 lines
597 B
Text

$NetBSD: patch-Makefile.in,v 1.1 2012/09/16 12:30:46 jaapb Exp $
Install into the right DESTDIR
--- Makefile.in.orig 2008-11-08 11:19:40.000000000 +0000
+++ Makefile.in
@@ -43,10 +43,10 @@ install : findlib-install
ifeq ($(DESTDIR),)
DESTDIR_FLAGS =
else
-DESTDIR_FLAGS = -destdir $(DESTDIR)
+DESTDIR_FLAGS = -destdir $(DESTDIR)$(PREFIX)/lib/ocaml/site-lib/
findlib-install : install-mkdir
install-mkdir :
- test -d $(DESTDIR) || mkdir -p $(DESTDIR)
+ test -d $(DESTDIR)$(PREFIX)/lib/ocaml/site-lib/ || mkdir -p $(DESTDIR)$(PREFIX)/lib/ocaml/site-lib/
endif
else
install : normal-install