pkgsrc/net/pppd/patches/patch-av
jlam 1b2a685d95 net/pppd: Install manpages into ${PKGMANDIR}.
Patch the project makefiles to set MANDIR to the point to the
correct location for installed manpages under ${PKGMANDIR}.
2017-08-19 00:24:36 +00:00

13 lines
412 B
Text

$NetBSD: patch-av,v 1.2 2017/08/19 00:24:36 jlam Exp $
--- pppd/plugins/radius/Makefile.linux.orig 2004-11-14 08:02:31.000000000 +0100
+++ pppd/plugins/radius/Makefile.linux
@@ -4,7 +4,7 @@
#
DESTDIR = @DESTDIR@
-MANDIR = $(DESTDIR)/share/man/man8
+MANDIR = $(DESTDIR)/$(PKGMANDIR)/man8
LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)