From 864b05162254028223b65636a7d1ce201dd841ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sun, 29 Apr 2018 16:06:21 +0000 Subject: vars/build.vars:tdnf: fix build. vars/tdnf.vars:pkg_configure_autotools_pre(): added to forcibly call autoreconf -iv instead of autoconf. --- vars/build.vars | 3 +++ vars/tdnf.vars | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 vars/tdnf.vars diff --git a/vars/build.vars b/vars/build.vars index a87373e1..1ff8a79e 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -532,7 +532,10 @@ NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python"; : ${PKG_TDNF_SHA256SUM:=ccab50046405d8cd5d4fd5b7154686170311184e63d8bb541b2792e280fee97f}; : ${PKG_TDNF_VERSION:=2.0.0-alpha.1}; : ${PKG_TDNF_URL:=https://github.com/vmware/tdnf/archive/v${PKG_TDNF_VERSION}.tar.gz}; +: ${PKG_TDNF_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99}; : ${PKG_TDNF_CONFIGURE_ARGS_EXTRA:="--disable-static"}; +: ${PKG_TDNF_IN_TREE:=1}; +: ${PKG_TDNF_SUBDIR:=tdnf-${PKG_TDNF_VERSION}}; : ${PKG_SHARED_MIME_INFO_SHA256SUM:=2af55ef1a0319805b74ab40d331a3962c905477d76c086f49e34dc96363589e9}; : ${PKG_SHARED_MIME_INFO_VERSION:=1.8}; : ${PKG_SHARED_MIME_INFO_URL:=http://freedesktop.org/~hadess/shared-mime-info-${PKG_SHARED_MIME_INFO_VERSION}.tar.xz}; diff --git a/vars/tdnf.vars b/vars/tdnf.vars new file mode 100644 index 00000000..f3b53f3c --- /dev/null +++ b/vars/tdnf.vars @@ -0,0 +1,9 @@ +# +# set -o errexit -o noglob are assumed. +# + +pkg_tdnf_configure_autotools_pre() { + autoreconf -iv; +}; + +# vim:filetype=sh -- cgit v1.2.3