summaryrefslogtreecommitdiffstats
path: root/textproc/ispell
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1995-09-23 20:50:15 +0000
committerjmz <jmz@FreeBSD.org>1995-09-23 20:50:15 +0000
commit1612feb81e434d029b3345b4385188c0057ed331 (patch)
treedaba038d443ddf898f4fc7ba311d667f3b450f48 /textproc/ispell
parentae3568963bfc954128bc1293bee9543c9220e756 (diff)
downloadFreeBSD-ports-1612feb81e434d029b3345b4385188c0057ed331.zip
FreeBSD-ports-1612feb81e434d029b3345b4385188c0057ed331.tar.gz
Don't set CFLAGS here
Check if /usr/share/dict/word exists (some people do not install the 'dict' distribution)
Diffstat (limited to 'textproc/ispell')
-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 a83be00..23e8e07 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/^[ ]*$/\
OpenPOWER on IntegriCloud