5e83bd065e
Fix broken internal DOC-string. PR: ports/14513 Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
15 lines
370 B
Bash
15 lines
370 B
Bash
#! /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
|