chroot-gawk: update to 5.3.0.
This commit is contained in:
parent
7bdfa528fb
commit
09a9e07fc8
|
@ -0,0 +1 @@
|
|||
../../gawk/patches/fix-str2wstr.patch
|
|
@ -1,21 +1,40 @@
|
|||
# Template file for 'chroot-gawk'
|
||||
pkgname=chroot-gawk
|
||||
version=5.0.1
|
||||
version=5.3.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-nls --without-readline ac_cv_libsigsegv=/bin/false"
|
||||
configure_args="--disable-nls --without-readline ac_cv_libsigsegv=/bin/false
|
||||
--disable-pma"
|
||||
hostmakedepends="automake" # Needed to run because of sed
|
||||
short_desc="GNU awk utility -- for xbps-src use"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://directory.fsf.org/wiki/Gawk"
|
||||
changelog="https://git.savannah.gnu.org/cgit/gawk.git/plain/NEWS"
|
||||
distfiles="${GNU_SITE}/gawk/gawk-${version}.tar.xz"
|
||||
checksum=8e4e86f04ed789648b66f757329743a0d6dfb5294c3b91b756a474f1ce05a794
|
||||
checksum=ca9c16d3d11d0ff8c69d79dc0b47267e1329a69b39b799895604ed447d3ca90b
|
||||
repository=bootstrap
|
||||
|
||||
bootstrap=yes
|
||||
provides="awk-0_1"
|
||||
replaces="awk>=0"
|
||||
|
||||
pre_check() {
|
||||
vsed -i 's/done | more/done/g' test/Makefile
|
||||
|
||||
# This fixes tests on glibc, relevant tests on musl are disabled
|
||||
# because the locale command doesn't exist.
|
||||
vsed -i 's/en_US.ISO-8859-1//' test/localenl.sh
|
||||
vsed -i '/^LC_ALL=en_US.ISO-8859-1 passed$/d' test/localenl.ok
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
vsed -i 's/No child processes/No child process/' test/testext.ok
|
||||
vsed -i '/testext/d' test/Makefile
|
||||
vsed -i '/clos1way6/d' test/Makefile ;;
|
||||
esac
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -rf ${DESTDIR}/usr/share ${DESTDIR}/etc/profile.d ${DESTDIR}/usr/include
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue