Patchwork czmq: disable asciidoc documentation generation

login
register
mail settings
Submitter Arnout Vandecappelle
Date May 12, 2013, 7:15 p.m.
Message ID <1368386152-27165-1-git-send-email-arnout@mind.be>
Download mbox | patch
Permalink /patch/243211/
State Accepted
Commit 92cd8a527373bf0c059f806761a851d2364d0246
Headers show

Comments

Arnout Vandecappelle - May 12, 2013, 7:15 p.m.
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>

czmq uses asciidoc for its documentation. asciidoc uses python and import
the unicodedata module, which is not in host-python. So disable asciidoc
entirely.

This doesn't get hit by the autobuilders because they don't have asciidoc
installed in their chroot.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/czmq/czmq.mk | 4 ++++
 1 file changed, 4 insertions(+)
Peter Korsgaard - May 12, 2013, 7:30 p.m.
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>

 Arnout> czmq uses asciidoc for its documentation. asciidoc uses python
 Arnout> and import the unicodedata module, which is not in
 Arnout> host-python. So disable asciidoc entirely.

 Arnout> This doesn't get hit by the autobuilders because they don't
 Arnout> have asciidoc installed in their chroot.

 Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Committed, thanks.

Patch

diff --git a/package/czmq/czmq.mk b/package/czmq/czmq.mk
index 2b34654..d63fb78 100644
--- a/package/czmq/czmq.mk
+++ b/package/czmq/czmq.mk
@@ -14,6 +14,10 @@  CZMQ_DEPENDENCIES = zeromq
 CZMQ_LICENSE = LGPLv3+ with exceptions
 CZMQ_LICENSE_FILES = COPYING COPYING.LESSER
 
+# asciidoc is a python script that imports unicodedata, which is not in
+# host-python, so disable asciidoc entirely.
+CZMQ_CONF_ENV = ac_cv_prog_czmq_have_asciidoc=no
+
 define CZMQ_CREATE_CONFIG_DIR
 	mkdir -p $(@D)/config
 endef