mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
841b56393e
Submitted by: shige@kuis.kyoto-u.ac.jp PR: ports/8226
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
|