summaryrefslogtreecommitdiff
path: root/misc/fd/patches/patch-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fd/patches/patch-Makefile.in')
-rw-r--r--misc/fd/patches/patch-Makefile.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/misc/fd/patches/patch-Makefile.in b/misc/fd/patches/patch-Makefile.in
new file mode 100644
index 00000000000..bc7b47e3890
--- /dev/null
+++ b/misc/fd/patches/patch-Makefile.in
@@ -0,0 +1,22 @@
+$NetBSD: patch-Makefile.in,v 1.1 2011/04/08 11:34:45 obache Exp $
+
+* honor PKGMANDIR
+* let not to take __LANGDIR__ from ${LANG}
+
+--- Makefile.in.orig 2010-09-24 15:00:00.000000000 +0000
++++ Makefile.in
+@@ -13,11 +13,11 @@ BINTOP = $(PREFIX)/bin
+ BINDIR = $(BUILD)$(BINTOP)
+ DATATOP = $(PREFIX)/share
+ DATADIR = $(BUILD)$(DATATOP)/fd
+-MANTOP = $(PREFIX)/man
++MANTOP = $(PREFIX)/$(PKGMANDIR)
+ MANDIR = $(BUILD)$(MANTOP)/man$(MANSEC)
+ CATDIR = $(BUILD)$(MANTOP)/cat$(MANSEC)
+-JMANDIR = $(BUILD)$(MANTOP)__LANGDIR__/man$(MANSEC)
+-JCATDIR = $(BUILD)$(MANTOP)__LANGDIR__/cat$(MANSEC)
++JMANDIR = $(BUILD)$(MANTOP)/${LANGDIR}/man$(MANSEC)
++JCATDIR = $(BUILD)$(MANTOP)/${LANGDIR}/cat$(MANSEC)
+ IPKWDIR = ./ipk.work
+ IPKTDIR = ./ipk.tmp
+ DEPDIR = ./depend.tmp