kiss-mfavila-small/ports/9base-git-mod/build

17 lines
344 B
Plaintext
Raw Normal View History

#!/bin/sh -e
2021-12-23 22:47:26 -05:00
# Fix a compile-time bug and build statically.
export CFLAGS="$CFLAGS -fcommon -static"
2021-05-11 00:07:37 -04:00
# Set what utils to make.
cp makefile.mid ./Makefile
make PREFIX=/usr
make PREFIX=/usr DESTDIR="$1" install
# Prevent 9yacc from actually installing
for file in /usr/bin/yacc /usr/yacc /usr/share/man/man1/yacc.1
2021-05-11 00:07:37 -04:00
do
rm -rf "$1$file"
done