summaryrefslogtreecommitdiff
path: root/textproc/ispell/files/DA.patch
blob: 64f61ad4e749b88a5639f919ed2fc7b1c33227ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- ispell-da-1.7.31/Makefile.orig	2010-01-21 12:03:30.000000000 +0100
+++ ispell-da-1.7.31/Makefile	2010-01-21 12:04:02.000000000 +0100
@@ -9,13 +9,13 @@
 lang=da
 version=1.7.31
 
-installdir=`ispell -vv | grep LIBDIR | cut -d'"' -f2`
+installdir=`${ISPELL} -vv | grep LIBDIR | cut -d'"' -f2`
 
 all: maskbits $(sprog).hash
 
 maskbits:
-	@test "`ispell -vv | grep MASKBITS`" != ""              || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -2 )
-	@test `ispell -vv | grep MASKBITS | cut -d= -f2` -ge 64 || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -3 )
+	@test "`${ISPELL} -vv | grep MASKBITS`" != ""              || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -2 )
+	@test `${ISPELL} -vv | grep MASKBITS | cut -d= -f2` -ge 64 || ( echo Ispell should be compiled with MASKBITS set to at least 64. ; exit -3 )
 
 install: maskbits $(sprog).hash $(sprog).aff
 	install -o root -g root -m 0644 $(sprog).hash $(installdir)
@@ -26,7 +26,7 @@
 	ln -fs $(installdir)/$(sprog).aff  $(installdir)/$(sprog_en_lower_case).aff
 
 $(sprog).hash: maskbits $(sprog).aff words-$(language_code).ispell
-	buildhash words-$(language_code).ispell $(sprog).aff $(sprog).hash
+	${BUILDHASH} words-$(language_code).ispell $(sprog).aff $(sprog).hash
 
 clean:
 	rm -f words-$(language_code).ispell.stat $(sprog).hash words-$(language_code).ispell.cnt *~