libtool: fix autoconf mismatch

This commit is contained in:
Đoàn Trần Công Danh 2022-12-18 17:00:48 +07:00 committed by Đoàn Trần Công Danh
parent 3995595e9d
commit 8270c55738

View file

@ -1,10 +1,10 @@
# Template file for 'libtool' # Template file for 'libtool'
pkgname=libtool pkgname=libtool
version=2.4.7 version=2.4.7
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="texinfo perl automake help2man xz" hostmakedepends="texinfo perl automake help2man xz gnulib tar"
depends="tar sed" depends="tar sed grep"
short_desc="Generic library support script" short_desc="Generic library support script"
maintainer="Enno Boland <gottox@voidlinux.org>" maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
@ -17,9 +17,14 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args="lt_cv_shlibpath_overrides_runpath=yes" configure_args="lt_cv_shlibpath_overrides_runpath=yes"
fi fi
pre_configure() { post_extract() {
touch aclocal.m4 libltdl/aclocal.m4 Makefile.am libltdl/Makefile.am Makefile.in libltdl/Makefile.in chmod -R +rw .
./bootstrap --force }
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() { post_install() {