Backport ocamlbuild -where fix
authorStephane Glondu <steph@glondu.net>
Tue, 26 May 2009 16:55:01 +0000 (18:55 +0200)
committerStephane Glondu <steph@glondu.net>
Tue, 26 May 2009 16:55:34 +0000 (18:55 +0200)
debian/changelog
debian/patches/0008-Backport-ocamlbuild-where-fix.patch [new file with mode: 0644]
debian/patches/series

index 5e51b5304abfa0befddcfb5643cec0a0ca98b0e6..77ed813efaaefd46879e3f19f291e8cab87de0c5 100644 (file)
@@ -16,8 +16,9 @@ ocaml (3.11.1~rc0-1) UNRELEASED; urgency=low
   * New upstream release candidate:
     - remove dbm_ldopts.dpatch (merged upstream)
     - switch patch system to quilt
+    - add Backport-ocamlbuild-where-fix patch (from upstream)
 
- -- Stephane Glondu <steph@glondu.net>  Tue, 19 May 2009 17:41:47 +0200
+ -- Stephane Glondu <steph@glondu.net>  Tue, 26 May 2009 18:55:07 +0200
 
 ocaml (3.11.0-5) unstable; urgency=low
 
diff --git a/debian/patches/0008-Backport-ocamlbuild-where-fix.patch b/debian/patches/0008-Backport-ocamlbuild-where-fix.patch
new file mode 100644 (file)
index 0000000..00b4177
--- /dev/null
@@ -0,0 +1,25 @@
+From: Stephane Glondu <steph@glondu.net>
+Date: Tue, 26 May 2009 18:54:22 +0200
+Subject: [PATCH] Backport ocamlbuild -where fix
+
+---
+ ocamlbuild/ocamlbuild_where.ml |    6 ++++--
+ 1 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/ocamlbuild/ocamlbuild_where.ml b/ocamlbuild/ocamlbuild_where.ml
+index 1703a53..14fcde5 100644
+--- a/ocamlbuild/ocamlbuild_where.ml
++++ b/ocamlbuild/ocamlbuild_where.ml
+@@ -1,5 +1,7 @@
+ let bindir = ref Ocamlbuild_Myocamlbuild_config.bindir;;
+ let libdir = ref begin
+-  try Filename.concat (Sys.getenv "OCAMLLIB") "ocamlbuild"
+-  with Not_found -> Ocamlbuild_Myocamlbuild_config.libdir
++  Filename.concat
++    (try Sys.getenv "OCAMLLIB"
++     with Not_found -> Ocamlbuild_Myocamlbuild_config.libdir)
++    "ocamlbuild"
+ end;;
+-- 
+1.6.2.4
+
index d206397c6241b8f3642363ab9cdc32a63d90115c..96d00d615d1a76163757a69214ed053f1025ae36 100644 (file)
@@ -5,3 +5,4 @@
 0005-Add-to-ocamldoc-support-for-native-code-dynamic-load.patch
 0006-Patch-config.sh-for-installation.patch
 0007-Install-ocamlbuild-as-a-link-on-either-.native-or-.b.patch
+0008-Backport-ocamlbuild-where-fix.patch