aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ispell
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1995-09-24 04:50:15 +0800
committerjmz <jmz@FreeBSD.org>1995-09-24 04:50:15 +0800
commit1612feb81e434d029b3345b4385188c0057ed331 (patch)
treedaba038d443ddf898f4fc7ba311d667f3b450f48 /textproc/ispell
parentae3568963bfc954128bc1293bee9543c9220e756 (diff)
downloadfreebsd-ports-gnome-1612feb81e434d029b3345b4385188c0057ed331.tar.gz
freebsd-ports-gnome-1612feb81e434d029b3345b4385188c0057ed331.tar.zst
freebsd-ports-gnome-1612feb81e434d029b3345b4385188c0057ed331.zip
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 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/^[ ]*$/\