aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ispell/files/DA.patch
blob: 59a80b691ed536ee52fd9d507345ac528a962f1c (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.4.43/Makefile.orig  Mon Sep 20 09:30:48 2004
+++ ispell-da-1.4.43/Makefile   Wed Oct 20 22:08:19 2004
@@ -9,13 +9,13 @@
 lang = da
 version = 1.4.43
 
-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-$(sprogkode).ispell
-   buildhash words-$(sprogkode).ispell $(sprog).aff $(sprog).hash
+   ${BUILDHASH} words-$(sprogkode).ispell $(sprog).aff $(sprog).hash
 
 clean:
    rm -f words-$(sprogkode).ispell.stat $(sprog).hash words-$(sprogkode).ispell.cnt *~