From 8072876d4078972cf3d5ad6110869bcdc5fcc7d4 Mon Sep 17 00:00:00 2001 From: jmmv Date: Sun, 22 Dec 2002 19:39:26 +0000 Subject: Make this package install its configuration file under the examples tree and use bsd.pkg.install.mk to copy it to PKG_SYSCONFDIR. Bump PKGREVISION to 1. --- net/ytalk/patches/patch-ab | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 net/ytalk/patches/patch-ab (limited to 'net/ytalk/patches/patch-ab') diff --git a/net/ytalk/patches/patch-ab b/net/ytalk/patches/patch-ab new file mode 100644 index 00000000000..f5bba970903 --- /dev/null +++ b/net/ytalk/patches/patch-ab @@ -0,0 +1,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 $@ -- cgit v1.2.3