$NetBSD: patch-aa,v 1.1 2013/04/24 02:20:39 rodent Exp $

Use the buildhash program from the base installation

--- Makefile	2001/03/14 11:39:01	1.1
+++ Makefile	2001/03/14 11:41:48
@@ -13,10 +13,12 @@
 #------------------------------------------------------------------------------
 
 # Prendre soin de bien dfinir cette variable:
-LIBDIR	= /depot/public/lib/ispell
+LIBDIR	= ${PREFIX}/lib
+
+RM= 	/bin/rm -f
 
 # Il peut tre requis de changer celle-ci aussi:
-HASH = $(LIBDIR)/buildhash
+HASH = ${PREFIX}/bin/buildhash
 
 # buildict n'est pas requis pour l'utilisation de francais-IREQ,
 # mais si vous dcidez de modifier le dictionnaire, la variable suivante
@@ -52,8 +54,8 @@
 	$(HASH) francais.dico $(AFFIXES) francais.hash
 
 install: francais.hash
-	install francais.hash $(LIBDIR)
-	install $(AFFIXES) $(LIBDIR)
+	${BSD_INSTALL_DATA} francais.hash ${DESTDIR}$(LIBDIR)
+	${BSD_INSTALL_DATA} $(AFFIXES) ${DESTDIR}$(LIBDIR)
 
 # Ne pas faire ceci sans buildict!
 # francais.dico requiert buildict et d'importantes ressources informatiques
