blob: 1f0c1b2ab95fc1a848ccc94976be7f2d76854577 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$NetBSD: patch-ad,v 1.10 2007/10/15 15:38:52 jlam Exp $
--- sqwebmail/Makefile.in.orig Sat Sep 29 14:53:23 2007
+++ sqwebmail/Makefile.in
@@ -1012,7 +1012,7 @@ install-perms-local: install-perms-cache
htmllibdir.h: config.status
echo '#define HTMLLIBDIR "@htmldir@"' >htmllibdir.h
- echo '#define SENDITSH "$(scriptdir)/sendit.sh"' >>htmllibdir.h
+ echo '#define SENDITSH "$(sysconfdir)/sendit.sh"' >>htmllibdir.h
echo '#define CALENDARMODE "$(sysconfdir)/calendarmode"' >>htmllibdir.h
echo '#define LOGINDOMAINLIST "$(sysconfdir)/logindomainlist"' >>htmllibdir.h
echo '#define MAXMSGSIZE @MAXMSGSIZE@' >>htmllibdir.h
@@ -1020,7 +1020,7 @@ htmllibdir.h: config.status
echo '#define SOCKDIR "$(localstatedir)"' >>htmllibdir.h
echo '#define SHAREDINDEXFILE "$(sysconfdir)/shared/index"' >>htmllibdir.h
echo '#define SQWEBPASSWD "$(pkglibexecdir)/sqwebpasswd"' >>htmllibdir.h
- if test -d $(srcdir)/../courier \
+ if true || test -d $(srcdir)/../courier \
; then \
echo '#define HOSTNAMEFILE "$(sysconfdir)/defaultdomain"' >>htmllibdir.h \
; echo '#define MAKEMIME "$(bindir)/makemime"' >>htmllibdir.h \
@@ -1057,9 +1057,6 @@ install-perms-cache:
@echo "@cachedir@ 700 @cacheowner@ bin" >>permissions.dat
cache-reminder:
- -$(mkinstalldirs) $(DESTDIR)@cachedir@
- -$(mkinstalldirs) $(DESTDIR)$(piddir)
- test -w /etc || exit 0; chown @cacheowner@ $(DESTDIR)@cachedir@
@rm -f cron.cmd
@echo '#! @SHELL@' >cron.cmd
@echo 'su -p -c "$(scriptdir)/cleancache.pl" @cacheowner@' >>cron.cmd
|