Commit c86b43a7 authored by Bart Ribbers's avatar Bart Ribbers Committed by Ariadne Conill
Browse files

community/autoconf2.13: fix build on riscv64

parent a8aa522d
Pipeline #84202 passed with stages
in 1 minute and 19 seconds
......@@ -8,7 +8,7 @@ license="GPL-2.0"
url="https://www.gnu.org/software/autoconf"
depends="m4 perl"
checkdepends="dejagnu flex gfortran"
source="https://ftp.gnu.org/pub/gnu/autoconf/autoconf-${pkgver}.tar.gz
source="https://ftp.gnu.org/pub/gnu/autoconf/autoconf-$pkgver.tar.gz
getloadavg.patch
"
subpackages="$pkgname-doc"
......@@ -17,21 +17,19 @@ builddir="$srcdir"/autoconf-$pkgver
prepare() {
default_prepare
update_config_sub # Required for AC_F77_LIBRARY_LDFLAGS
update_config_guess
}
build() {
cd "$builddir"
M4=/usr/bin/m4 ./configure --prefix=/usr --program-suffix=-2.13
make
}
check() {
cd "$builddir"
F77=gfortran make check
}
package() {
cd "$builddir"
make prefix="$pkgdir/usr" infodir="$pkgdir/usr/share/info" install
rm -f "$pkgdir"/usr/share/info/dir
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment