$NetBSD: patch-ad,v 1.4 2008/02/19 18:45:24 jlam Exp $ --- courier/filters/Makefile.in.orig 2007-11-17 19:49:01.000000000 -0500 +++ courier/filters/Makefile.in @@ -236,11 +236,12 @@ SUBDIRS = libfilter perlfilter CLEANFILES = $(htmldoc_DATA) $(man_MANS) filtersocketdir.h filteractivedir.h \ pidfile.h permissions.dat +pkglibexecdir = $(libexecdir)/courier htmldocdir = @datadir@/htmldoc htmldoc_DATA = courierfilter.html courierperlfilter.html dupfilter.html databindir = $(datadir) databin_SCRIPTS = filterctl -filterbindir = $(libexecdir)/filters +filterbindir = $(pkglibexecdir)/filters filtersocketdir = $(localstatedir)/filters allfiltersocketdir = $(localstatedir)/allfilters filterconfdir = $(sysconfdir)/filters @@ -931,16 +932,12 @@ install-exec-hook: install-data-hook: -$(mkinstalldirs) $(DESTDIR)$(filtersocketdir) -$(mkinstalldirs) $(DESTDIR)$(allfiltersocketdir) - -$(mkinstalldirs) $(DESTDIR)$(filterconfdir) - -$(mkinstalldirs) $(DESTDIR)$(filteractivedir) -$(mkinstalldirs) $(DESTDIR)$(sbindir) chmod 500 $(DESTDIR)$(datadir)/filterctl rm -f $(DESTDIR)$(sbindir)/filterctl $(LN_S) $(datadir)/filterctl $(DESTDIR)$(sbindir)/filterctl chmod 750 $(DESTDIR)$(filtersocketdir) chmod 750 $(DESTDIR)$(allfiltersocketdir) - chmod 750 $(DESTDIR)$(filterconfdir) - chmod 750 $(DESTDIR)$(filteractivedir) -chown @mailuser@ $(DESTDIR)$(filtersocketdir) \ $(DESTDIR)$(allfiltersocketdir) \ $(DESTDIR)$(filterconfdir) \