[Pkg-ocaml-maint-commits] [SCM] calendar packaging branch, master, updated. debian/2.01.1-2-1-g7a3b2b1

Mehdi Dogguy dogguy at pps.jussieu.fr
Wed Mar 18 17:33:42 UTC 2009


The following commit has been merged in the master branch:
commit 7a3b2b19dd4f72fb80ed3665501c4c1743434981
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date:   Wed Mar 18 18:31:45 2009 +0100

    Add meta.dpatch to allow any executable to be linked using ocamlfind, Closes: #520287

diff --git a/debian/changelog b/debian/changelog
index 36bafa9..6e93d30 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+calendar (2.01.1-3) UNRELEASED; urgency=low
+
+  * Add meta.dpatch to allow any executable to be linked using ocamlfind.
+    (Closes: #520287)
+
+ -- Mehdi Dogguy <dogguy at pps.jussieu.fr>  Wed, 18 Mar 2009 18:14:14 +0100
+
 calendar (2.01.1-2) unstable; urgency=low
 
   * debian/patches/*
diff --git a/debian/patches/00list b/debian/patches/00list
index 806a429..e0026f8 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -1 +1,2 @@
 install_destdir.dpatch
+meta.dpatch
diff --git a/debian/patches/meta.dpatch b/debian/patches/meta.dpatch
new file mode 100755
index 0000000..7f681c5
--- /dev/null
+++ b/debian/patches/meta.dpatch
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## meta.dpatch by Mehdi Dogguy <dogguy at pps.jussieu.fr>
+##
+## DP: Allow any executable to be linked using ocamlfind.
+
+ at DPATCH@
+diff -urNad calendar~/Makefile.in calendar/Makefile.in
+--- calendar~/Makefile.in	2009-03-09 13:48:10.000000000 +0100
++++ calendar/Makefile.in	2009-03-18 17:54:02.000000000 +0100
+@@ -114,8 +114,8 @@
+ META: Makefile
+ 	echo "description = \"$(NAME) library\"" > $@
+ 	echo "version = \"$(VERSION)\"" >> $@
+-	echo "archive(byte) = \"$(NAMELIB).cmo $(NAMELIB).cma\"" >> $@
+-	echo "archive(native) = \"$(NAMELIB).cmx $(NAMELIB).cmxa\"" >> $@
++	echo "archive(byte) = \"$(NAMELIB).cma\"" >> $@
++	echo "archive(native) = \"$(NAMELIB).cmxa\"" >> $@
+ 	echo "requires = \"unix str\"" >> $@
+ 
+ # Generic rules

-- 
calendar packaging



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