[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.9.4-1-g8c23773

Mehdi Dogguy mehdi at debian.org
Wed Jul 7 17:08:44 UTC 2010


The following commit has been merged in the master branch:
commit 8c23773feae85f333133c45a809dfa094f8492df
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Wed Jul 7 19:05:29 2010 +0200

    Fix detection of Dynlink support.

diff --git a/debhelper/dh_ocamlinit b/debhelper/dh_ocamlinit
index d5100a8..0259522 100755
--- a/debhelper/dh_ocamlinit
+++ b/debhelper/dh_ocamlinit
@@ -55,7 +55,9 @@ Clean files generated from present debian/*.in ones and exit.
 
 my $ocamlc = "/usr/bin/ocamlc";
 my $ocamlopt = "/usr/bin/ocamlopt";
-my $dynlinkcmxa = "`$ocamlc -where`/dynlink.cmxa";
+my $stdlib_path = `$ocamlc -where`;
+chomp($stdlib_path);
+my $dynlinkcmxa = "$stdlib_path/dynlink.cmxa";
 error "$ocamlc does not exists or is not executable" unless -x $ocamlc;
 
 chomp (my $ocaml_version = `$ocamlc -version`);
diff --git a/debian/changelog b/debian/changelog
index 45feea2..b0db8bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dh-ocaml (0.9.5) unstable; urgency=low
+
+  * Fix detection of Dynlink support.
+
+ -- Mehdi Dogguy <mehdi at debian.org>  Wed, 07 Jul 2010 19:03:26 +0200
+
 dh-ocaml (0.9.4) unstable; urgency=low
 
   [ Mehdi Dogguy ]

-- 
dh-ocaml packaging



More information about the Pkg-ocaml-maint-commits mailing list