summaryrefslogtreecommitdiff
path: root/japanese/emacs-emcws/scripts/configure
blob: f588d1f09b7728ea04dbe5e20f78d95f0b462218 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

for f in site-init.el; do
	${SED} -e "s,%%DOC_FILE%%,${DOC_FILE},g" \
		< ${FILESDIR}/${f}.tmpl > ${WRKSRC}/lisp/${f}
done

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