1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/editors/emacs20/scripts/configure
Justin M. Seger 841b56393e Don't warn before mv'ing.
Submitted by:	shige@kuis.kyoto-u.ac.jp
PR:	ports/8226
1998-10-31 15:51:22 +00:00

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