summaryrefslogtreecommitdiff
path: root/net/host/patches/patch-ab
blob: 7212770c7183a4cb5ad3ba30d4e849a5a326a91c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-ab,v 1.3 2005/04/16 12:44:49 wiz Exp $

--- Makefile.BSD.orig	2004-08-12 22:30:04.000000000 +0200
+++ Makefile.BSD
@@ -52,14 +52,17 @@ NOSHARED = YES
 BINDIR ?= ${PREFIX}/bin
 BINOWN ?= root
 
-.if defined(__NetBSD__)
-MANDIR ?= ${PREFIX}/share/man
-.elif defined(__FreeBSD__)
-MANDIR ?= ${PREFIX}/share/man/man
-.else
+#.if defined(__NetBSD__)
+#MANDIR ?= ${PREFIX}/share/man
+#.elif defined(__FreeBSD__)
+#MANDIR ?= ${PREFIX}/share/man/man
+#.else
 # 4.4BSD, including BSD/OS
-MANDIR ?= ${PREFIX}/share/man/cat
-.endif
+#MANDIR ?= ${PREFIX}/share/man/cat
+#.endif
+
+# Pkgsrc
+MANDIR?=	${PREFIX}/man
 
 # this check is a nasty hack and will break building 'host' in the
 # NetBSD source tree on any host that doesn't have this file....