diff --git a/srcpkgs/libtool/template b/srcpkgs/libtool/template index aebad9294ee..cd7c684c594 100644 --- a/srcpkgs/libtool/template +++ b/srcpkgs/libtool/template @@ -1,10 +1,10 @@ # Template file for 'libtool' pkgname=libtool version=2.4.7 -revision=2 +revision=3 build_style=gnu-configure -hostmakedepends="texinfo perl automake help2man xz" -depends="tar sed" +hostmakedepends="texinfo perl automake help2man xz gnulib tar" +depends="tar sed grep" short_desc="Generic library support script" maintainer="Enno Boland " license="GPL-2.0-or-later" @@ -17,9 +17,14 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args="lt_cv_shlibpath_overrides_runpath=yes" fi -pre_configure() { - touch aclocal.m4 libltdl/aclocal.m4 Makefile.am libltdl/Makefile.am Makefile.in libltdl/Makefile.in - ./bootstrap --force +post_extract() { + chmod -R +rw . +} + +do_configure() { + ./bootstrap --force --no-git --skip-po \ + --gnulib-srcdir=/usr/share/gnulib/ --copy + ./configure ${configure_args} SED=/bin/sed GREP=/bin/grep } post_install() {