The following commit has been merged in the master branch:
commit 0453d674197d4faed558e9317f8ff2bf8e364ebe
Author: Stephane Glondu <st...@glondu.net>
Date:   Sat Dec 3 13:42:24 2011 +0100

    Do not install plugins on architectures without natdynlink
    
    Fixes FTBFS on armel.

diff --git a/debian/rules b/debian/rules
index d36d7eb..54279f5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,9 @@ override_dh_auto_install:
        cp -a doc/api-html $(DOCDIR)/html/api
        cp -a examples/* $(DOCDIR)/examples
        rm -f $(DOCDIR)/examples/*/*.cm* $(DOCDIR)/examples/*/*.byte
+ifeq ($(OCAML_NATDYNLINK),no)
+       find $(DESTDIR) -name '*.cmxs' -delete
+endif
 
 .PHONY: override_dh_auto_clean
 override_dh_auto_clean:

-- 
js-of-ocaml 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