[Pkg-ocaml-maint-commits] [ocurl] 01/04: Fix installation on bytecode-only architectures

Stéphane Glondu glondu at moszumanska.debian.org
Tue May 31 08:59:37 UTC 2016


This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository ocurl.

commit dd362f8281d3fb7d914389e8e94531e5f90c9ca5
Author: Stephane Glondu <steph at glondu.net>
Date:   Tue May 31 10:09:15 2016 +0200

    Fix installation on bytecode-only architectures
---
 debian/libcurl-ocaml-dev.install.in                |  2 +-
 ...stallation-on-bytecode-only-architectures.patch | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/debian/libcurl-ocaml-dev.install.in b/debian/libcurl-ocaml-dev.install.in
index 05e33c1..8f9b5ce 100644
--- a/debian/libcurl-ocaml-dev.install.in
+++ b/debian/libcurl-ocaml-dev.install.in
@@ -1,5 +1,5 @@
 @OCamlStdlibDir@/curl/META
- at OCamlStdlibDir@/curl/*.o
+OPT: @OCamlStdlibDir@/curl/*.o
 @OCamlStdlibDir@/curl/*.a
 @OCamlStdlibDir@/curl/*.cm*
 @OCamlStdlibDir@/curl/*.ml*
diff --git a/debian/patches/0003-Fix-installation-on-bytecode-only-architectures.patch b/debian/patches/0003-Fix-installation-on-bytecode-only-architectures.patch
new file mode 100644
index 0000000..85691bb
--- /dev/null
+++ b/debian/patches/0003-Fix-installation-on-bytecode-only-architectures.patch
@@ -0,0 +1,25 @@
+From: Stephane Glondu <steph at glondu.net>
+Date: Tue, 31 May 2016 10:07:54 +0200
+Subject: Fix installation on bytecode-only architectures
+
+Signed-off-by: Stephane Glondu <steph at glondu.net>
+---
+ Makefile.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 0b7ee58..bdcc545 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -42,9 +42,9 @@ TARGETS += curl_lwt.cmx
+ endif
+ endif
+ 
+-INSTALL_TARGETS = curl$(EXT_LIB) curl.cmi curl.mli $(TARGETS)
++INSTALL_TARGETS = $(wildcard curl$(EXT_LIB)) curl.cmi curl.mli $(TARGETS)
+ ifneq (@OCAML_PKG_lwt@,no)
+-INSTALL_TARGETS += curl_lwt.cmi curl_lwt.mli curl_lwt$(EXT_OBJ)
++INSTALL_TARGETS += curl_lwt.cmi curl_lwt.mli $(wildcard curl_lwt$(EXT_OBJ))
+ endif
+ 
+ all:
diff --git a/debian/patches/series b/debian/patches/series
index a9ad863..75325c3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0003-CURLE_URL_MALFORMAT_USER-is-obsolete.patch
 0002-Disable-Internet-using-tests.patch
+0003-Fix-installation-on-bytecode-only-architectures.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocurl.git



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