libiberty-dev,
libncurses-dev,
zlib1g-dev,
- dh-ocaml
+ dh-ocaml (>= 1.3)
Standards-Version: 4.6.0
Rules-Requires-Root: no
Vcs-Git: https://salsa.debian.org/ocaml-team/ocaml.git
Package: ocaml-compiler-libs
Architecture: any
Depends:
+ ${shlibs:Depends},
${misc:Depends},
- ocaml-${F:OCamlABI}
+ ${ocaml:Depends}
Provides:
- ocaml-compiler-libs-${F:OCamlABI}
+ ${ocaml:Provides}
Recommends:
ocaml-man
Replaces: ocaml-base-nox (<< 4)
# Create .md5sums files and compute dependencies. Use $(OCAML_ABI)
# because we know that OCaml ABI represents best dependencies for
# OCaml package.
- dh_ocaml -Xcompiler-libs \
- --runtime-map ocaml:ocaml-base \
- --checksum $(OCAML_ABI)
+ dh_ocaml \
+ --nodefined-map ocaml:Topdirs \
+ --runtime-map ocaml:ocaml-base:$(OCAML_ABI),ocaml-compiler-libs
dh_gencontrol
# Check that OCAML_ABI is correct
if [ "$(OCAML_ABI)" != "$(shell boot/ocamlrun ./ocamlc -version | { read a && echo $${a%%_*}; })" ]; then \