summaryrefslogtreecommitdiff
path: root/net/ytalk/patches/patch-ab
blob: f5bba97090396be2d1863288505de3fadb2b7039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ab,v 1.1 2002/12/22 19:39:27 jmmv Exp $

--- Makefile.in.orig	Sun Nov 15 04:53:52 1998
+++ Makefile.in
@@ -21,7 +21,8 @@ VPATH		= @srcdir@
 prefix		= @prefix@
 exec_prefix	= @exec_prefix@
 bindir		= @bindir@
-sysconfdir	= @sysconfdir@
+realsysconfdir	= @sysconfdir@
+sysconfdir	= @datadir@/examples/ytalk
 mandir		= @mandir@
 manext		= 1
 
@@ -31,7 +32,7 @@ CPPFLAGS	= @CPPFLAGS@
 INCLUDES	= @XINCS@
 LIBS		= @LIBS@ @XLIBS@
 LDFLAGS		= @LDFLAGS@
-DEFS		= @DEFS@ -DSYSTEM_YTALKRC=\"$(sysconfdir)/ytalkrc\"
+DEFS		= @DEFS@ -DSYSTEM_YTALKRC=\"$(realsysconfdir)/ytalkrc\"
 
 COMPILE = $(CC) $(INCLUDES) $(CPPFLAGS) $(DEFS) $(CFLAGS)
 LINK	= $(CC) $(CFLAGS) $(LDFLAGS) -o $@