summaryrefslogtreecommitdiff
path: root/chat/eggdrop/patches
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-04-30 19:43:48 +0000
committerjmmv <jmmv>2003-04-30 19:43:48 +0000
commit087a0768505491d85617d6f659546a19306bccc5 (patch)
tree826db49024a08e49b91b9a3c13bdf5c12fcfa8e8 /chat/eggdrop/patches
parent938996f0f303c2be19f615065463dabc9f063038 (diff)
downloadpkgsrc-087a0768505491d85617d6f659546a19306bccc5.tar.gz
Honour PKG_SYSCONFDIR. Bump PKGREVISION to 1.
Diffstat (limited to 'chat/eggdrop/patches')
-rw-r--r--chat/eggdrop/patches/patch-ab4
-rw-r--r--chat/eggdrop/patches/patch-ac20
2 files changed, 16 insertions, 8 deletions
diff --git a/chat/eggdrop/patches/patch-ab b/chat/eggdrop/patches/patch-ab
index 8b9312f86c0..1d4636a5551 100644
--- a/chat/eggdrop/patches/patch-ab
+++ b/chat/eggdrop/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/06/26 03:48:13 kent Exp $
+$NetBSD: patch-ab,v 1.2 2003/04/30 19:43:49 jmmv Exp $
--- src/main.c.orig Sun Jul 15 09:15:14 2001
+++ src/main.c Thu Nov 1 12:55:48 2001
@@ -16,7 +16,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2002/06/26 03:48:13 kent Exp $
int term_z = 0; /* Foreground: use the terminal as a party
line? */
-char configfile[121] = "eggdrop.conf"; /* Name of the config file */
-+char configfile[121] = __PREFIX__ "/etc/eggdrop.conf";
++char configfile[121] = __PKG_SYSCONFDIR__ "/eggdrop.conf";
char helpdir[121]; /* Directory of help files (if used) */
char textdir[121] = ""; /* Directory for text files that get dumped */
int keep_all_logs = 0; /* Never erase logfiles, no matter how old
diff --git a/chat/eggdrop/patches/patch-ac b/chat/eggdrop/patches/patch-ac
index 7db7bd9e4c9..c3cd5eb5ccb 100644
--- a/chat/eggdrop/patches/patch-ac
+++ b/chat/eggdrop/patches/patch-ac
@@ -1,17 +1,25 @@
-$NetBSD: patch-ac,v 1.1.1.1 2002/06/26 03:48:14 kent Exp $
+$NetBSD: patch-ac,v 1.2 2003/04/30 19:43:49 jmmv Exp $
---- src/Makefile.in.orig Thu Nov 23 06:56:40 2000
-+++ src/Makefile.in Thu Nov 1 12:57:48 2001
-@@ -16,7 +16,7 @@
+--- src/Makefile.in.orig 2000-11-23 04:56:40.000000000 +0100
++++ src/Makefile.in
+@@ -4,6 +4,7 @@
+ SHELL = @SHELL@
+ top_srcdir = @top_srcdir@
+ srcdir = @srcdir@
++prefix = @prefix@
+ VPATH = @srcdir@
+
+ @SET_MAKE@
+@@ -16,7 +17,7 @@ CC = @CC@
LD = @CC@
STRIP = @STRIP@
CFLAGS = @CFLAGS@ -I.. -I$(top_srcdir) @DEFS@ $(CFLGS)
-CPPFLAGS = @CPPFLAGS@
-+CPPFLAGS = @CPPFLAGS@ '-D__PREFIX__="@prefix@"'
++CPPFLAGS = @CPPFLAGS@ '-D__PREFIX__="@prefix@"' '-D__PKG_SYSCONFDIR__="@sysconfdir@"'
eggdrop_objs = bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o \
dccutil.o dns.o flags.o language.o main.o mem.o misc.o misc_file.o \
-@@ -37,7 +37,7 @@
+@@ -37,7 +38,7 @@ doofus:
@echo "Linking eggdrop... $(EGGBUILD)"
@echo ""
@touch mod/mod.xlibs