tags 409169 + patch thanks Hi,
Attached is the diff for my ocamldsort 0.14.3-1.4 NMU.
diff -u ocamldsort-0.14.3/debian/changelog ocamldsort-0.14.3/debian/changelog
--- ocamldsort-0.14.3/debian/changelog
+++ ocamldsort-0.14.3/debian/changelog
@@ -1,3 +1,12 @@
+ocamldsort (0.14.3-1.4) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * High-urgency upload for RC bugfix.
+ * Add dependency on the package containing /usr/bin/ocamlrun on
+ architectures where ocamldsort is built as bytecode (closes: #409169).
+
+ -- Julien Cristau <[EMAIL PROTECTED]> Thu, 8 Feb 2007 11:07:25 +0100
+
ocamldsort (0.14.3-1.3) unstable; urgency=low
* NMU.
diff -u ocamldsort-0.14.3/debian/control ocamldsort-0.14.3/debian/control
--- ocamldsort-0.14.3/debian/control
+++ ocamldsort-0.14.3/debian/control
@@ -4,10 +4,11 @@
Maintainer: Dimitri Ara <[EMAIL PROTECTED]>
Build-Depends: ocaml-nox (>= 3.09.0), debhelper (>> 4.0.0)
Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocamldsort
Package: ocamldsort
Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${F:OCamlRun}
Description: dependency sorter for OCaml source files
The ocamldsort command scans a set of Objective Caml source files (.ml
and .mli files), sorts them according to their dependencies and prints
diff -u ocamldsort-0.14.3/debian/rules ocamldsort-0.14.3/debian/rules
--- ocamldsort-0.14.3/debian/rules
+++ ocamldsort-0.14.3/debian/rules
@@ -10,6 +10,9 @@
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+OCAMLABI = $(shell ocamlc -version)
+BYTECODE = $(shell [ -x /usr/bin/ocamlopt ] || echo yes)
+OCAMLRUN = $(if $(BYTECODE),ocaml-base-nox-$(OCAMLABI))
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g
@@ -72,7 +75,7 @@
dh_makeshlibs
dh_installdeb
dh_shlibdeps
- dh_gencontrol
+ dh_gencontrol -- -VF:OCamlRun=$(OCAMLRUN)
dh_md5sums
dh_builddeb
signature.asc
Description: Digital signature

