blob: 112daa50cabfd0cc4936a0b506f329e97f062dd0 (
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 2003/08/02 20:38:57 kristerw Exp $
--- config.mk.orig Tue Oct 30 20:50:40 2001
+++ config.mk Sat Aug 2 22:28:11 2003
@@ -3,7 +3,6 @@
# For copying and distribution information, see the file COPYING.
#
-PREFIX = /usr/local
BINDIR = ${PREFIX}/sbin
MANDIR = ${PREFIX}/man
MAN8DIR = ${PREFIX}/man/man8
@@ -11,7 +10,7 @@
INSTALL = ../install-sh
-WARNS = -Wall -Wtraditional -ansi -pedantic
+WARNS = -Wall -ansi -pedantic
EXTRAWARNS = -Wshadow -Wpointer-arith -Werror -Wcast-qual -Wcast-align \
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
-Wnested-externs
@@ -19,7 +18,7 @@
# affect portability to some platforms. The others here are irrelevant.
BADWARNS = -Wwrite-strings -Wconversion -Waggregate-return -Wredundant-decls
DEBUG = -DDEBUG -DVERBOSE -g
-CFLAGS = ${WARNS} ${EXTRAWARNS} ${DEBUG}
+CFLAGS = ${WARNS} ${EXTRAWARNS} ${DEBUG} -DPREFIX=\"${PREFIX}\" -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR}\"
LDFLAGS =
LIBS = -lutil
|