summaryrefslogtreecommitdiff
path: root/editors/emacs20/scripts/configure
blob: 297b3a92f91ae955537f1b843f0f54a56d5d809a (plain) (blame)
1
2
3
4
5
6
7
8
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