Install seq compatibility package
authorStephane Glondu <steph@glondu.net>
Fri, 8 Nov 2019 10:42:46 +0000 (11:42 +0100)
committerStéphane Glondu <glondu@debian.org>
Fri, 8 Nov 2019 10:42:46 +0000 (11:42 +0100)
debian/META.seq [new file with mode: 0644]
debian/rules

diff --git a/debian/META.seq b/debian/META.seq
new file mode 100644 (file)
index 0000000..06b95ef
--- /dev/null
@@ -0,0 +1,4 @@
+name="seq"
+version="[distributed with OCaml 4.07 or above]"
+description="dummy backward-compatibility package for iterators"
+requires=""
index 6a0fa80201ce898c118e2ae331d0c0726d65276d..6a862c50ac255db028e63deee2a19d6c98f6bccb 100755 (executable)
@@ -215,6 +215,9 @@ endif
            cp tools/$$u debian/ocaml-nox/usr/bin/ocaml$$u; \
          fi \
        done
+# Install the seq compatibility package (OCaml >= 4.07)
+       mkdir -p debian/ocaml-base-nox$(OCAML_STDLIB_DIR)/seq
+       cp debian/META.seq debian/ocaml-base-nox$(OCAML_STDLIB_DIR)/seq/META
 endif
 # Remaining stuff
        touch $@