summaryrefslogtreecommitdiff
path: root/chat/i2cbd/patches/patch-ab
blob: 8f44668c580402e4772cc06ba3272886c109c4a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ab,v 1.4 2003/10/24 21:12:18 jwise 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
@@ -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