diff options
author | John Polstra <jdp@FreeBSD.org> | 1998-07-04 01:48:56 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 1998-07-04 01:48:56 +0000 |
commit | 18c9beae1774da276d2fd335280c6708bac76687 (patch) | |
tree | b986db884f81689cd351250d8e0476c00dde89ca /editors | |
parent | f6410b121f8754edae386a4b198a4407e40a9a20 (diff) | |
download | ports-18c9beae1774da276d2fd335280c6708bac76687.tar.gz ports-18c9beae1774da276d2fd335280c6708bac76687.zip |
Handle /usr/lib/aout which, like the visiting mother-in-law, has
overstayed its welcome.
Notes
Notes:
svn path=/head/; revision=11700
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs20/scripts/configure | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/emacs20/scripts/configure b/editors/emacs20/scripts/configure new file mode 100644 index 000000000000..297b3a92f91a --- /dev/null +++ b/editors/emacs20/scripts/configure @@ -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 |