1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/textproc/ispell/files/patch-ab
Jean-Marc Zucconi 6f5de1d923 Add support for swedish, brasilian and german (old and new spelling)
dictionaries (in addition to french). They can be built with
``make ISPELL_XX=yes'' where ``XX'' is SE, BR, DEALT or DENEU, or FR

PR:		ports/15948
Submitted by:	Alexander Langer <alex@cichlids.com>
Reviewed by:	jmz
2000-01-22 22:16:40 +00:00

52 lines
1.5 KiB
Plaintext

--- Makefile.orig Thu Oct 12 20:04:06 1995
+++ Makefile Sat Jan 22 22:44:42 2000
@@ -253,7 +253,7 @@
set -ex; \
rm -f $$ELISPDIR/ispell.el; \
$$INSTALL ispell.el $$ELISPDIR; \
- if sh iwhich $$EMACS >/dev/null; then \
+ if sh iwhich ___XXX___$$EMACS >/dev/null; then \
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
-msgs.h: config.sh FRC
+msgs.h: config.sh
@. ./config.sh; \
set $(SHELLDEBUG); \
set +e; \
@@ -522,7 +522,8 @@
else \
set -x; \
rm -f msgs.h; ln $$msgs msgs.h || cp $$msgs msgs.h; \
- fi
+ fi; \
+ touch msgs.h
FRC: