1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

The port was broken because dicts were installed in $SHAREDIR but

ispell was looking for files in $LIBDIR. Because $LIBDIR is only used for
dictionaries, we don't need the SHAREDIR variable. Just define LIBDIR to
$PREFIX/share/ispell.
This commit is contained in:
Jean-Marc Zucconi 2000-01-28 00:08:56 +00:00
parent 6d08cf7c87
commit 71c6f31179
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25132
2 changed files with 2 additions and 22 deletions

View File

@ -9,27 +9,6 @@
echo '(byte-compile-file "'"$$ELISPDIR/ispell.el"'")' \
> /tmp/emi$$$$; \
$$EMACS -batch -l /tmp/emi$$$$; \
@@ -310,9 +310,9 @@
$(MAKE) LANGUAGE_TARGET=install SHELLDEBUG=$(SHELLDEBUG) \
language-subdirs
. ./config.sh; \
- [ -d $$LIBDIR ] || (mkdir $$LIBDIR; chmod 755 $$LIBDIR); \
+ [ -d $$SHAREDIR ] || (mkdir $$SHAREDIR; chmod 755 $$SHAREDIR); \
set -x; \
- cd $$LIBDIR; \
+ cd $$SHAREDIR; \
if [ $$MASTERHASH != $DEFHASH ]; then \
rm -f $$DEFHASH; \
ln $$MASTERHASH $$DEFHASH; \
@@ -412,7 +412,7 @@
config.sh: config.X local.h
set $(SHELLDEBUG); \
for var in BINDIR CC CFLAGS COUNTSUFFIX DEFDICT DEFHASH DEFLANG \
- ELISPDIR EMACS HASHSUFFIX INSTALL \
+ ELISPDIR EMACS HASHSUFFIX INSTALL SHAREDIR \
LANGUAGES LIBDIR LIBES LINT LINTFLAGS \
MAKE_SORTTMP MAN1DIR MAN1EXT MAN4DIR MAN4EXT MASTERHASH \
MSGLANG REGLIB STATSUFFIX \
@@ -508,7 +508,7 @@
local.h:
set +e; [ -r local.h ] || cp local.h.samp local.h

View File

@ -26,7 +26,8 @@ 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 SHAREDIR \"$PREFIX/share/ispell\"" >> local.h
echo "#undef LIBDIR" >> local.h
echo "#define LIBDIR \"$PREFIX/share/ispell\"" >> local.h
mv Makefile Makefile.orig
sed -e 's/^[ ]*$/\