blob: a944ac38e21c34ed125f11a50f09f706646fc5f0 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
$NetBSD: patch-ab,v 1.4 2006/03/16 17:32:03 joerg 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....
@@ -124,7 +127,6 @@ CWARNFLAGS += -Wcomment
CWARNFLAGS += -Wtraditional
CWARNFLAGS += -Wcast-qual
# -Wid-clash-LEN is sadly no longer supported in 3.2.2
-CWARNFLAGS += -Wid-clash-30
CWARNFLAGS += -Wpointer-arith
CWARNFLAGS += -Wshadow
#
@@ -167,7 +169,6 @@ __GNULD__ ?= 1
.if ${__GNULD__} >= 1
LDFLAGS += -W
LDFLAGS += -Wall
-LDFLAGS += -Wid-clash-30
LDFLAGS += -Wl,--warn-common
.endif
|