$NetBSD: patch-GNUmakefile,v 1.1 2022/01/23 13:30:33 schmonz Exp $ Follow hier(7) and support PKGMANDIR. --- GNUmakefile.orig 2018-08-24 12:00:46.000000000 +0000 +++ GNUmakefile @@ -4,10 +4,10 @@ # in /opt/diet, where they are in the default search path for my diet libc # work but don't conflict with anything there. YMMV. -prefix=/opt/diet +prefix=${PREFIX} LIBDIR=${prefix}/lib INCLUDEDIR=${prefix}/include -MAN3DIR=${prefix}/man/man3 +MAN3DIR=${prefix}/${PKGMANDIR}/man3 LIBS=byte.a fmt.a scan.a str.a uint.a open.a stralloc.a unix.a socket.a \ buffer.a mmap.a taia.a tai.a dns.a case.a mult.a array.a io.a \