pkgsrc/chat/i2cbd/patches/patch-ab
jwise e942280038 A new BETA is out, i2cbd-2.0_BETA1. Update pkg accordingly.
Changes are minor -- compiler warning fixes from GCC3, and better log messages.
2003-10-24 21:12:18 +00:00

20 lines
710 B
Text

$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