27654e
diff -urN ispell-gaeilge-5.0.old/makefile ispell-gaeilge-5.0/makefile
27654e
--- ispell-gaeilge-5.0.old/makefile	2017-12-04 02:02:36.000000000 +0530
27654e
+++ ispell-gaeilge-5.0/makefile	2018-07-08 09:16:16.483019455 +0530
27654e
@@ -20,17 +20,15 @@
27654e
 ALTAFFIXFILE=gaeilgemor.aff
27654e
 INSTALL_DATA=$(INSTALL) -m 444
27654e
 
27654e
-SORT=/usr/bin/sort -u
27654e
+SORT=sort -u
27654e
 
27654e
-hashtable: $(INSTALLATION).hash
27654e
-
27654e
-all: gaeilge.hash gaeilgelit.hash gaeilgemor.hash
27654e
+all: ga_IE.dic
27654e
 
27654e
 # grep -v filters out Malmö, São, LC_ALL=C needed!
27654e
-gaeilge.hash: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
27654e
+ga_IE.dic: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
27654e
 	LC_ALL=C $(SORT) $(RAWWORDS) $(PERSONAL) | LC_ALL=C grep -v "[^'a-zA-ZáéíóúÁÉÍÓÚ/-]" | iconv -f UTF-8 -t iso-8859-1 > gaeilge.focail
27654e
-	iconv -f UTF-8 -t iso-8859-1 $(AFFIXFILE) > tempaff.txt
27654e
-	$(ISPELLBIN)/buildhash gaeilge.focail tempaff.txt gaeilge.hash
27654e
+	wc -l gaeilge.focail | cut -d ' ' -f 1 > ga_IE.dic
27654e
+	LC_ALL=C $(SORT) -f -t / --key 1,1 gaeilge.focail >> ga_IE.dic
27654e
 	rm -f gaeilge.focail tempaff.txt
27654e
 
27654e
 gaeilgelit.hash: $(RAWWORDS) $(LITWORDS) gaeilgelit.aff $(PERSONAL)