Add heirloom yacc.

This commit is contained in:
Andrius Štikonas 2021-01-26 21:30:45 +00:00
parent 221a817527
commit 89ca88eaea
5 changed files with 1182 additions and 0 deletions

View file

@ -130,6 +130,12 @@ cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 16: heirloom-devtools
pkg="heirloom-devtools-070527"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 17: bash
pkg="bash-2.05b"
cd ${pkg}

View file

@ -0,0 +1,26 @@
#!/bin/sh
set -ex
mkdir build
cd build
bindir=/after/bin
# Extract
bunzip2 ../src/${pkg}.tar.bz2
tar xf ../src/${pkg}.tar ${pkg}/yacc ${pkg}/lex
cd ${pkg}
# Prepare and patch
patch -Np0 -i ../../patches/yacc_remove_wchar.patch
# Build yacc
cd yacc
make -f Makefile.mk CC=tcc AR=tcc\ -ar CFLAGS=-DMAXPATHLEN=100\ -DEILSEQ=84\ -DMB_LEN_MAX=100 LDFLAGS=-lgetopt RANLIB=true
# Install yacc
install yacc ${bindir}
install -m 644 yaccpar /
cd ../../..

File diff suppressed because it is too large Load diff