mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
10a16f1335
PR: ports/8776 Submitted by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
10 lines
240 B
Bash
10 lines
240 B
Bash
#! /bin/sh
|
|
|
|
cd ${WRKSRC}
|
|
|
|
if [ -f /usr/lib/aout/crt0.o -a ! -f /usr/lib/crt0.o ]; then
|
|
sed -e "s|/usr/lib/crt0\.o|/usr/lib/aout/crt0.o|g" \
|
|
src/s/freebsd.h > src/s/freebsd.h.new || exit
|
|
mv -f src/s/freebsd.h.new src/s/freebsd.h
|
|
fi
|