From 7474b8feaa90ab2c6c60dfd1f00e24f4cd7468a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 15 Dec 2020 16:20:17 +0700 Subject: [PATCH] gettext-devel: depends on tar /usr/bin/autopoint: line 497: tar: command not found --- srcpkgs/gettext/template | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/srcpkgs/gettext/template b/srcpkgs/gettext/template index 4e0667c1b8c..06079609ba0 100644 --- a/srcpkgs/gettext/template +++ b/srcpkgs/gettext/template @@ -1,7 +1,7 @@ # Template file for 'gettext' pkgname=gettext version=0.21 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-java --disable-native-java --disable-csharp --disable-libasprintf --enable-threads=posix --disable-rpath --without-emacs @@ -9,6 +9,12 @@ configure_args="--disable-java --disable-native-java --disable-csharp --with-included-libxml --with-included-libunistring --disable-openmp --disable-curses --without-examples --enable-nls gl_cv_func_gettimeofday_clobber=no" +# gettext will try to use xz bzip2 gzip to compress +# /usr/share/gettext/archive.dir.tar. +# Either: +# - Have xz in hostmakedepends; or +# - Let gettext-devel depends on bzip2 +hostmakedepends="xz" short_desc="Internationalized Message Handling Library and tools" maintainer="Enno Boland " license="GPL-3.0-or-later" @@ -23,7 +29,7 @@ case "$XBPS_TARGET_MACHINE" in esac if [ "$CROSS_BUILD" ]; then - hostmakedepends="automake libtool" + hostmakedepends+=" automake libtool" pre_configure() { autoreconf -fi } @@ -45,7 +51,7 @@ gettext-devel-examples_package() { } } gettext-devel_package() { - depends="gettext-libs>=${version}_${revision} xz" + depends="gettext-libs>=${version}_${revision} xz tar" short_desc+=" - development files" pkg_install() { vmove usr/include