Commit 24c7c99d authored by Kan-Ru Chen's avatar Kan-Ru Chen

Disable JavaScript support on powerpc, s390x and sparc.

parent 3b3c2ce0
mupdf (1.4-2) unstable; urgency=medium
* Disable JavaScript support on powerpc, s390x and sparc. (Closes: #747131)
-- Kan-Ru Chen (陳侃如) <koster@debian.org> Mon, 19 May 2014 00:11:11 +0800
mupdf (1.4-1) unstable; urgency=medium
[ Quoc-Viet Nguyen ]
......@@ -20,7 +26,7 @@ mupdf (1.3-2) unstable; urgency=medium
* Add description of key P to mupdf(1). (Closes: #736125)
* Add description of BROWSER env to mupdf(1). (Closes: #699684)
* Bump Standards-Version to 3.9.5, no changes needed
-- Kan-Ru Chen (陳侃如) <koster@debian.org> Sun, 09 Mar 2014 23:41:55 +0800
mupdf (1.3-1) unstable; urgency=low
......
......@@ -6,7 +6,7 @@ Uploaders: Quoc-Viet Nguyen <afelion@gmail.com>
Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.16.1.1~),
libfreetype6-dev, pkg-config, libjpeg-dev, libjbig2dec-dev,
libopenjpeg-dev, libx11-dev, libxext-dev, zlib1g-dev,
libv8-dev
libv8-dev [!powerpc !s390x !sparc]
Standards-Version: 3.9.5
Homepage: http://mupdf.com/
Vcs-Git: git://git.debian.org/git/users/koster/mupdf.git
......
......@@ -12,6 +12,7 @@ export DH_OPTIONS
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/architecture.mk
# The build system doesn't use CPPFLAGS, pass them to CFLAGS to enable the
# missing (hardening) flags.
CFLAGS += $(CPPFLAGS)
......@@ -24,7 +25,10 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif
BUILD_FLAGS=build=release OS=Linux HAVE_V8=yes
BUILD_FLAGS=build=release OS=Linux
ifeq (,$(strip $(foreach arch,powerpc s390x sparc,$(findstring $(arch),$(DEB_HOST_ARCH)))))
BUILD_FLAGS += HAVE_V8=yes
endif
override_dh_auto_build:
$(MAKE) $(BUILD_FLAGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment