Package: trafficserver
Version: 5.0.0-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el

Dear Maintainer,

The architecture ppc64el doesn not have a lua JIT yet, so, it needs to be
disabled when compiling trafficserver for this architecture.

I am providing a patch that simple check if ppc64el == DEB_BUILD_ARCH and then
call configure with --disable-luajit.

Thanks
Breno


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: trafficserver-5.0.0/debian/rules
===================================================================
--- trafficserver-5.0.0.orig/debian/rules
+++ trafficserver-5.0.0/debian/rules
@@ -6,6 +6,7 @@
 
 # Get build architecture. ./configure is different on Linux
 DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 configure_flags = \
 	--enable-layout=Debian \
@@ -19,6 +20,10 @@ ifeq ($(DEB_HOST_ARCH_OS),linux)
 	configure_flags += --enable-wccp --enable-linux-native-aio
 endif
 
+ifeq ($(DEB_BUILD_ARCH),ppc64el)
+	configure_flags += --disable-luajit
+endif
+
 %:
 	dh $@ --parallel --with autoreconf
 

Reply via email to