[Pkg-ocaml-maint-commits] [SCM] ocaml-deriving-ocsigen packaging branch, master, updated. debian/0.1.1a-3-26-g550e6e9

Stephane Glondu steph at glondu.net
Mon Nov 21 20:15:49 UTC 2011


The following commit has been merged in the master branch:
commit 11fcc7ff44ad5b0955858b5f7a7f0ef00c4c13b0
Author: Pierre Chambart <chambart at 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 <chambart at 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



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