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

17 lines
315 B
Bash
Executable File

#!/bin/sh -e
# Fix a compile-time bug.
export CFLAGS="$CFLAGS -fcommon"
# 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
do
rm -rf "$1$file"
done