[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

make s390x exclusion help



Ok, FTBFS due to luajittex, not surprising.

Is this patch ok, any make master please ..

diff --git a/debian/rules b/debian/rules
index 76e6101..5af5952 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 export SHELL=/bin/bash
 export CONFIG_SHELL=/bin/sh
 
+LUAJIT_FAIL_ARCHS="s390x"
+
 # In case one wants to build with old automake (<< 1.13.1), the following
 # variable has to be set. By default the debian/control requires high
 # enough versions of automake and friends
@@ -14,6 +16,9 @@ DEB_HOST_ARCH     ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 ifeq ($(DEB_HOST_ARCH), alpha)
   export LDFLAGS = -Wl,--no-relax
 endif
+ifneq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_FAIL_ARCHS)))
+  DISABLE_JIT=--disable-luajittex
+endif
 
 #
 # it seems that ARM metafont segfaults due to a problem with armhf's malloc
@@ -73,6 +78,7 @@ override_dh_auto_configure:
 	--with-x				\
 	--with-mf-x-toolkit			\
 	--with-xdvi-x-toolkit=xaw		\
+	$(DISABLE_JIT)				\
 	--disable-lcdf-typetools		\
 	--disable-biber				\
 	--disable-dvipng			\

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------


Reply to: