summaryrefslogtreecommitdiff
path: root/chat/ejabberd/patches/patch-aa
blob: 68c7e5643d8964f0f6e3f1c2667a65b41a29c582 (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-aa,v 1.2 2008/04/24 08:04:13 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)@prefix@/share/examples/ejabberd
 SBINDIR = $(DESTDIR)@prefix@/sbin
 
 ifeq ($(shell uname),Darwin)