pkgsrc/www/ocaml-curl/patches/patch-Makefile.in
jaapb d7b9e57dfc Imported ocurl 0.5.3 as www/ocaml-curl. Packaged by Rich Neswold, committed
with some corrections. This closes PR pkg/43601.

This package provides OCaml bindings to the CURL HTTP-client library.
2012-09-16 12:38:44 +00:00

18 lines
672 B
Text

$NetBSD: patch-Makefile.in,v 1.1 2012/09/16 12:38:44 jaapb Exp $
Install into correct DESTDIR, and install .cmi files
--- Makefile.in.orig 2009-11-07 21:05:52.000000000 +0000
+++ Makefile.in
@@ -69,8 +69,10 @@ libcurl-helper.a: $(CURLHELPEROBJS)
install:
ifeq ($(FINDLIB),ocamlfind)
- ocamlfind install curl META $(wildcard *.cmi) \
- $(wildcard *.a) $(wildcard *.cma) $(wildcard *.cmxa)
+ ocamlfind install -ldconf ignore \
+ -destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib/ \
+ curl META $(wildcard *.cmi) $(wildcard *.mli) \
+ $(wildcard *.a) $(wildcard *.cma) $(wildcard *.cmxa)
else
mkdir -p $(INSTALLDIR)
$(INSTALLDATA) curl.cma $(INSTALLDIR)