Fix compilation with recent dune
authorJulien Puydt <jpuydt@debian.org>
Thu, 6 Jul 2023 07:36:23 +0000 (09:36 +0200)
committerJulien Puydt <jpuydt@debian.org>
Thu, 6 Jul 2023 07:36:23 +0000 (09:36 +0200)
debian/changelog
debian/rules

index 94d347039fd66ed271bb9213f63e063f7b7230ab..134f2032a9fde789bae81ee4b9584fa7453541c7 100644 (file)
@@ -4,6 +4,7 @@ ocaml-cohttp (5.1.0-1) UNRELEASED; urgency=medium
   * Fix d/watch.
   * New upstream release.
   * Complete b-deps.
+  * Fix compilation with recent dune
 
  -- Julien Puydt <jpuydt@debian.org>  Thu, 06 Jul 2023 09:35:54 +0200
 
index 3bb7c559aefa7918ea775362f62e634102ab4dae..d2be4a8ca40357d4e86c21bf73d35b3a68dad50d 100755 (executable)
@@ -6,7 +6,7 @@ DESTDIR=$(CURDIR)/debian/tmp
 include /usr/share/ocaml/ocamlvars.mk
 
 DUNE_BUILD := OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p
-DUNE_INSTALL := dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR)
+DUNE_INSTALL := dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
 DUNE_RUNTEST := OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune runtest -p
 
 %: