The following commit has been merged in the master branch:
commit 72ce014d9caf8310741895fccaee50dab7062fdf
Author: Stephane Glondu <st...@glondu.net>
Date:   Sat Apr 23 12:06:51 2011 +0200

    Do not build native plugin when there is no natdynlink

diff --git a/debian/control b/debian/control
index 3878882..e9c2a3a 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Maintainer: Debian OCaml Maintainers 
<debian-ocaml-ma...@lists.debian.org>
 Uploaders: St├ęphane Glondu <glo...@debian.org>
 Build-Depends:
  debhelper (>= 8),
- dh-ocaml (>= 0.9.2~),
+ dh-ocaml (>= 0.9.5~),
  libocsigen-ocaml-dev (>= 1.3),
  libcalendar-ocaml-dev (>= 2.01.1-6~),
  libextlib-ocaml-dev (>= 1.5.1-5~),
diff --git a/debian/rules b/debian/rules
index f49f839..3ce87c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ export OCAMLFIND_DESTDIR := debian/nurpawiki/usr/lib/ocsigen
 .PHONY: override_dh_auto_build
 override_dh_auto_build:
        make
-ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+ifeq ($(OCAML_NATDYNLINK),yes)
        make nurpawiki.cmxs
 endif
 

-- 
nurpawiki packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to