The following commit has been merged in the master branch:
commit 11fcc7ff44ad5b0955858b5f7a7f0ef00c4c13b0
Author: Pierre Chambart <chamb...@crans.org>
Date:   Mon Nov 21 16:00:20 2011 +0100

    syntax package exists only when -dev is installed

diff --git 
a/debian/patches/0003-syntax-package-exists-only-when-dev-is-installed.patch 
b/debian/patches/0003-syntax-package-exists-only-when-dev-is-installed.patch
new file mode 100644
index 0000000..b3bedf0
--- /dev/null
+++ b/debian/patches/0003-syntax-package-exists-only-when-dev-is-installed.patch
@@ -0,0 +1,21 @@
+From: Pierre Chambart <chamb...@crans.org>
+Date: Mon, 21 Nov 2011 15:59:31 +0100
+Subject: syntax package exists only when -dev is installed
+
+---
+ META.in |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/META.in b/META.in
+index f525d10..3281177 100644
+--- a/META.in
++++ b/META.in
+@@ -6,6 +6,7 @@ archive(byte)   = "deriving.cma"
+ archive(native) = "deriving.cmxa"
+ 
+ package "syntax" (
++  exists_if = "pa_deriving.cma"
+   requires(syntax) = "camlp4,unix"
+   requires(syntax, toploop) += "%%NAME%%"
+   archive(syntax, preprocessor) = "pa_deriving.cma"
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index e440b9e..c0a697b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Install-.mli.patch
 0002-install-syntax-extension-.a.patch
+0003-syntax-package-exists-only-when-dev-is-installed.patch

-- 
ocaml-deriving-ocsigen packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to