diff --git a/srcpkgs/mk-configure/template b/srcpkgs/mk-configure/template index 8c400132f88..a6281e476d1 100644 --- a/srcpkgs/mk-configure/template +++ b/srcpkgs/mk-configure/template @@ -1,6 +1,6 @@ # Template file for 'mk-configure' pkgname=mk-configure -version=0.29.2 +version=0.29.3 revision=1 wrksrc="${pkgname}-${pkgname}-${version}" build_style=gnu-makefile @@ -8,7 +8,7 @@ make_cmd=bmake make_build_args="PREFIX=/usr" make_install_args="MANDIR=/usr/share/man" make_check_target="test" -checkdepends="automake glib-devel groff pkg-config" +checkdepends="automake glib-devel groff pkg-config bison flex" hostmakedepends="bmake bmkdep" depends="bmake bmkdep" short_desc="Lightweight replacement for GNU autotools" @@ -16,7 +16,7 @@ maintainer="Leah Neukirchen " license="BSD" homepage="https://github.com/cheusov/mk-configure/archive/" distfiles="https://github.com/cheusov/${pkgname}/archive/${pkgname}-${version}.tar.gz" -checksum=2b647c7c2354c584cc246c0a9d69205769a9edd2ad76011c5757963dc43a062a +checksum=fbdbacb8eb04566890dd71c1e65226c9714a2557f7f6f3283f6e2a6bc22d4fa9 post_extract() { rm -r tests/pkg_config_2 # different wording @@ -27,6 +27,12 @@ post_extract() { pre_build() { ${make_cmd} all-scripts PROG.awk=/usr/bin/awk } +pre_check() { + case "$XBPS_TARGET_MACHINE" in + *-musl) + sed -i 's|Cannot allocate|Out of|g' examples/hello_errwarn/expect.out ;; + esac +} post_install() { vlicense doc/LICENSE rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE