pkgsrc/textproc/ispell-fr/patches/patch-aa
rodent 8fdf3ffa95 Moving ispell-* packages as discussed on tech-pkg@. Reasons being:
1) Shorter package name;
2) Be consistent with kde3-l18n-*, kde4-l10n-*, hunspell-*, aspell-*,
lang-* PKG_OPTIONS;
3) Simplify modifications to PKGNAME in some Makefiles;
4) Accordance with international language naming standards;

and rename the ispell-base package to ispell, to be consistent with aspell
and hunspell. Bump PKGREVISION where necessary.
2013-04-24 02:20:36 +00:00

32 lines
1 KiB
Text

$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 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 ${DESTDIR}$(LIBDIR)
+ ${BSD_INSTALL_DATA} $(AFFIXES) ${DESTDIR}$(LIBDIR)
# Ne pas faire ceci sans buildict!
# francais.dico requiert buildict et d'importantes ressources informatiques