summaryrefslogtreecommitdiff
path: root/net/ytalk/patches/patch-ab
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2002-12-22 19:39:26 +0000
committerjmmv <jmmv@pkgsrc.org>2002-12-22 19:39:26 +0000
commit8072876d4078972cf3d5ad6110869bcdc5fcc7d4 (patch)
tree4ed13bed202bf4356c3108f7db640ef18f4d85e9 /net/ytalk/patches/patch-ab
parentd47fb0b37d3b638d3d35140cf4f500bc36903b37 (diff)
downloadpkgsrc-8072876d4078972cf3d5ad6110869bcdc5fcc7d4.tar.gz
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.
Diffstat (limited to 'net/ytalk/patches/patch-ab')
-rw-r--r--net/ytalk/patches/patch-ab23
1 files changed, 23 insertions, 0 deletions
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 $@