1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/editors/emacs20-dl/scripts/configure
Shigeyuki Fukushima 5e83bd065e Update emacs-dl patches.
Fix broken internal DOC-string.

PR:		ports/14513
Submitted by:	OKAZAKI Tetsurou <okazaki@be.to>
1999-10-26 13:20:32 +00:00

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