From 8270c557387cacf05ae1962d601dad7f02ae914a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 18 Dec 2022 17:00:48 +0700 Subject: [PATCH] libtool: fix autoconf mismatch --- srcpkgs/libtool/template | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) 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() {