summaryrefslogtreecommitdiff
path: root/chat/ejabberd/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'chat/ejabberd/patches/patch-aa')
-rw-r--r--chat/ejabberd/patches/patch-aa23
1 files changed, 23 insertions, 0 deletions
diff --git a/chat/ejabberd/patches/patch-aa b/chat/ejabberd/patches/patch-aa
new file mode 100644
index 00000000000..89d849a17ec
--- /dev/null
+++ b/chat/ejabberd/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/03/10 08:58:32 martti Exp $
+
+Modified for pkgsrc
+
+--- src/Makefile.in.orig 2008-01-16 12:33:27.000000000 +0200
++++ src/Makefile.in 2008-02-11 13:38:21.000000000 +0200
+@@ -50,13 +50,13 @@
+
+ DESTDIR =
+
+-EJABBERDDIR = $(DESTDIR)@prefix@/var/lib/ejabberd
++EJABBERDDIR = $(DESTDIR)@prefix@/lib/erlang/lib/@DISTNAME@
+ BEAMDIR = $(EJABBERDDIR)/ebin
+ PRIVDIR = $(EJABBERDDIR)/priv
+ SODIR = $(PRIVDIR)/lib
+ MSGSDIR = $(PRIVDIR)/msgs
+-LOGDIR = $(DESTDIR)@prefix@/var/log/ejabberd
+-ETCDIR = $(DESTDIR)@prefix@/etc/ejabberd
++LOGDIR = $(DESTDIR)/@JABBERD_LOGDIR@
++ETCDIR = $(DESTDIR)/@PKG_SYSCONFDIR@
+ SBINDIR = $(DESTDIR)@prefix@/sbin
+
+ ifeq ($(shell uname),Darwin)