summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1995-09-23 20:50:15 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1995-09-23 20:50:15 +0000
commit0a881e64e449dc8243889d0de7d2376101958cc8 (patch)
tree488cdd1858dc65b969c8cefae7eeff830c02c6fe /textproc
parentAdd a post-configure target to set CFLAGS (diff)
Don't set CFLAGS here
Check if /usr/share/dict/word exists (some people do not install the 'dict' distribution)
Notes
Notes: svn path=/head/; revision=2193
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ispell/scripts/configure5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/ispell/scripts/configure b/textproc/ispell/scripts/configure
index a83be008d812..23e8e0793fab 100644
--- a/textproc/ispell/scripts/configure
+++ b/textproc/ispell/scripts/configure
@@ -4,6 +4,10 @@ if [ "`echo a|sed -e P`" = "aa" ]; then
echo You need a newer version of sed. Use sed from -current or gnu sed
exit 1
fi
+if [ ! -f /usr/share/dict/words ]; then
+ echo "you need to install /usr/share/dict/words from the 'dict' distribution first"
+ exit 1
+fi
cd $WRKSRC || exit 1;
if [ -f $WRKDIR/extra_dict ]; then
@@ -41,7 +45,6 @@ echo "#undef WORDS" >> local.h
echo '#define WORDS "/usr/share/dict/words"' >> local.h
echo '#undef ELISPDIR' >> local.h
echo "#define ELISPDIR \"$PREFIX/share/emacs/site-lisp\"" >> local.h
-echo '#define CFLAGS "-O2 -fno-strength-reduce"' >>local.h
mv Makefile Makefile.orig
sed -e 's/^[ ]*$/\