pkgsrc/textproc/ispell-francais/patches/patch-aa

32 lines
1 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 2001/03/14 12:14:02 agc 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 définir 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 décidez 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 $(LIBDIR)
+ ${BSD_INSTALL_DATA} $(AFFIXES) $(LIBDIR)
# Ne pas faire ceci sans buildict!
# francais.dico requiert buildict et d'importantes ressources informatiques