Handle /usr/lib/aout which, like the visiting mother-in-law, has

overstayed its welcome.
This commit is contained in:
John Polstra 1998-07-04 01:48:56 +00:00
parent f6410b121f
commit 18c9beae17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11700

9
editors/emacs20/scripts/configure vendored Normal file
View file

@ -0,0 +1,9 @@
#! /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 src/s/freebsd.h.new src/s/freebsd.h
fi