#ifeq ($(BOXFAMILY), nevis)
-NEVIS_XML2_FLAGS = --without-iconv
-NEVIS_XML2_FLAGS += --with-minimum
+NEVIS_XML2_FLAGS = \
+ --without-iconv \
+ --with-minimum
#endif
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd5x hd6x))
XML2_DEPS = $(D)/python3
+XML_CONF_OPTS = \
+ --with-python \
+ --with-c14n
+else
+XML_CONF_OPTS = \
+ --without-python \
+ --without-c14n
endif
$(D)/libxml2: $(XML2_DEPS) $(ARCHIVE)/libxml2-$(LIBXML2_VER).tar.gz | $(TARGETPREFIX)
--datarootdir=/.remove \
--enable-shared \
--disable-static \
- --with-python \
--without-debug \
- --with-c14n \
--without-legacy \
--without-catalog \
--without-docbook \
--without-lzma \
--without-schematron \
--with-tree \
+ $(XML_CONF_OPTS) \
$(NEVIS_XML2_FLAGS) && \
$(MAKE) all && \
$(MAKE) install DESTDIR=$(TARGETPREFIX) && \