The Yaboot package contains a PowerPC Boot Loader for machines using Open Firmware such as NewWorld Macintoshes.
Yaboot has a compilation error. The following patch properly fixes the issue:
patch -Np1 -i ../yaboot-1.3.13-fix-1.patch
The following patch removes a redundant test which prevents ofpath from executing against SATA disks:
patch -Np1 -i ../yaboot-1.3.13-ofpath_sata-1.patch
The supplied man pages have /usr/local in the text. This sed will correct that:
sed -i 's%/usr/local%/usr%' man/*
Compile the package:
make PREFIX=/usr
Install the package:
make PREFIX=/usr install