From 250883d027ccd7311514b5b488d7928689b41e2c Mon Sep 17 00:00:00 2001 From: Ronaldo Maia Date: Sat, 23 Jun 2018 19:52:01 -0300 Subject: [PATCH] Compile postgres with --with-libxml --- packages/postgresql/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/postgresql/build.sh b/packages/postgresql/build.sh index 6993f98e4..69e50035d 100644 --- a/packages/postgresql/build.sh +++ b/packages/postgresql/build.sh @@ -2,10 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://www.postgresql.org TERMUX_PKG_DESCRIPTION="Object-relational SQL database" TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas' TERMUX_PKG_VERSION=10.4 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SHA256=1b60812310bd5756c62d93a9f93de8c28ea63b0df254f428cd1cf1a4d9020048 TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2 -TERMUX_PKG_DEPENDS="openssl, libcrypt, readline, libandroid-shmem, libuuid" +TERMUX_PKG_DEPENDS="openssl, libcrypt, readline, libandroid-shmem, libuuid, libxml2" # - pgac_cv_prog_cc_ldflags__Wl___as_needed: Inform that the linker supports as-needed. It's # not stricly necessary but avoids unnecessary linking of binaries. # - USE_UNNAMED_POSIX_SEMAPHORES: Avoid using System V semaphores which are disabled on Android. @@ -19,6 +19,7 @@ pgac_cv_prog_cc_ldflags__Wl___as_needed=yes USE_UNNAMED_POSIX_SEMAPHORES=1 --with-openssl --with-uuid=e2fs +--with-libxml ZIC=$TERMUX_PKG_HOSTBUILD_DIR/src/timezone/zic " TERMUX_PKG_EXTRA_MAKE_ARGS=" -s"