summaryrefslogtreecommitdiffstats
path: root/editors/emacs20
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1998-07-04 01:48:56 +0000
committerjdp <jdp@FreeBSD.org>1998-07-04 01:48:56 +0000
commitadf758346c040e923a8c2603a698567063c7a585 (patch)
tree1b6dc98af24b0b772fb6953a455836e4254e0cc2 /editors/emacs20
parent7bfb8ac47d34a45f499eff30e3c6f5cf22f15e98 (diff)
downloadFreeBSD-ports-adf758346c040e923a8c2603a698567063c7a585.zip
FreeBSD-ports-adf758346c040e923a8c2603a698567063c7a585.tar.gz
Handle /usr/lib/aout which, like the visiting mother-in-law, has
overstayed its welcome.
Diffstat (limited to 'editors/emacs20')
-rw-r--r--editors/emacs20/scripts/configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/emacs20/scripts/configure b/editors/emacs20/scripts/configure
new file mode 100644
index 0000000..297b3a9
--- /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
OpenPOWER on IntegriCloud