summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/build.vars3
-rw-r--r--vars/tdnf.vars9
2 files changed, 12 insertions, 0 deletions
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