From 26e941cdb1a7a6dd411db12007cfdf25e098f1a6 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 18 Aug 2019 14:19:11 +0300 Subject: [PATCH] xwayland: do debug build only when TERMUX_DEBUG is true --- x11-packages/xwayland/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-packages/xwayland/build.sh b/x11-packages/xwayland/build.sh index 88bece576..7450b334e 100644 --- a/x11-packages/xwayland/build.sh +++ b/x11-packages/xwayland/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Wayland X11 server" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Leonid Plyushch " TERMUX_PKG_VERSION=1.20.5 -TERMUX_PKG_REVISION=3 +TERMUX_PKG_REVISION=4 TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/xserver/xorg-server-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SHA256=a81d8243f37e75a03d4f8c55f96d0bc25802be6ec45c3bfa5cb614c6d01bac9d TERMUX_PKG_DEPENDS="libandroid-shmem, libdrm, libpciaccess, libpixman, libx11, libxau, libxfont2, libxinerama, libxkbfile, libxshmfence, mesa, openssl, xkeyboard-config, xorg-xkbcomp, libwayland, libwayland-protocols, libepoxy" @@ -58,7 +58,7 @@ termux_step_pre_configure () { CFLAGS+=" -DFNDELAY=O_NDELAY -Wno-int-to-pointer-cast" CPPFLAGS+=" -I${TERMUX_PREFIX}/include/libdrm" - if [ -n "${TERMUX_DEBUG}" ]; then + if [ "${TERMUX_DEBUG}" = "true" ]; then TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-debug" fi