byacc: update and fix build

This commit is contained in:
Ella Stanforth 2022-04-18 20:45:56 +00:00
parent f81107394c
commit 93ee7edfa3

View file

@ -1,12 +1,13 @@
pkgver=20210808
pkgver=20220128
pkgname=byacc
deps=""
deps="musl"
mkdeps="bmake"
bad=""
auto_cross
fetch() {
curl https://invisible-island.net/datafiles/release/byacc.tar.gz -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
curl "ftp://ftp.invisible-island.net/byacc/byacc-$pkgver.tgz" -O
tar -xf $pkgname-$pkgver.tgz
# Merged upstream; Don't need
# cp ../reader-mesa.patch .
}
@ -16,7 +17,9 @@ build() {
./configure \
--prefix=/usr \
--program-prefix=b \
--enable-btyacc
--enable-btyacc \
--build=$HOST_TRIPLE \
--host=$TRIPLE
# patch -p1 < ../reader-mesa.patch
make
}