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

lucas pushed a commit to branch master
in repository ocamlbricks.

commit 6bae32a7b1ec24e43265433f122dd8b5553192b8
Author: Lucas Nussbaum <lu...@debian.org>
Date:   Wed Apr 2 18:25:11 2014 +0200

    Add patch 0004-install-stublibs.patch
---
 debian/patches/0004-install-stublibs.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/0004-install-stublibs.patch 
b/debian/patches/0004-install-stublibs.patch
new file mode 100644
index 0000000..02a826a
--- /dev/null
+++ b/debian/patches/0004-install-stublibs.patch
@@ -0,0 +1,25 @@
+--- a/Makefile
++++ b/Makefile
+@@ -433,18 +433,17 @@ install-libraries: libraries install-lib
+       if [ "$(NATIVE_LIBRARIES) $(BYTE_LIBRARIES)" == " " ]; then \
+         echo "There are no native libraries to install: ok, no problem..."; \
+       else \
+-        (echo "Installing $$name libraries into 
"$(LIBRARYPREFIX)"/$$name/..."; \
++        set -x ; (echo "Installing $$name libraries into 
"$(LIBRARYPREFIX)"/$$name/..."; \
+         (mkdir -p $(LIBRARYPREFIX)/$$name &> /dev/null || true); \
+         shopt -s nullglob; \
+         cp -f META $(OTHER_LIBRARY_FILES_TO_INSTALL) \
+               _build/*.cma _build/*.cmxa _build/*.a \
+               `find _build/ -name \*.cmi | grep -v /myocamlbuild` \
+               `find _build/ -name \*.mli | grep -v /myocamlbuild` \
+-            $(LIBRARYPREFIX)/$$name/) && \
+-        if test -d $(LIBRARYPREFIX)/stublibs/; then \
++            $(LIBRARYPREFIX)/$$name/) ; \
++        mkdir -p $(LIBRARYPREFIX)/stublibs ; \
+           find _build/ -name "dll*.so" -exec cp -f "{}" 
$(LIBRARYPREFIX)/stublibs/ ";" ; \
+-        fi; \
+-        echo 'Library installation was successful.'; \
++        echo 'Library installation was successful.'; set +x ; \
+       fi)
+ 
+ # Uninstall programs and libraries:
diff --git a/debian/patches/series b/debian/patches/series
index ed24500..ef23491 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0002-Use-the-Debian-prefix-for-building.patch
 0003-Fix-the-build-on-non-native-architectures.patch
+0004-install-stublibs.patch

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

_______________________________________________
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