pkgsrc/sysutils/tits/patches/patch-aa
2002-06-04 08:38:20 +00:00

14 lines
480 B
Text

$NetBSD: patch-aa,v 1.3 2002/06/04 08:38:21 seb Exp $
--- Makefile.orig Tue Feb 20 21:27:21 2001
+++ Makefile
@@ -37,7 +37,8 @@
SRCS= main.c buffer.c client.c context.c listener.c telnet.c tty.c
SRCS+= dispatcher.c setup.c config.c server.c logger.c
-CPPFLAGS+= -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"${LOCALBASE}/etc/tits.conf\"
+
+CPPFLAGS+= -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"${PKG_SYSCONFDIR}/tits.conf\"
LDADD+= -lwrap
PREFIX?= /usr/local
BINDIR?= ${PREFIX}/sbin