summaryrefslogtreecommitdiff
path: root/mail/courier-imap
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-13 05:20:48 +0000
committerjlam <jlam@pkgsrc.org>2005-05-13 05:20:48 +0000
commit36ccbedf479214fb021c0f0247379d51aae93495 (patch)
treee007ac097d3be936423bfa64f5f8dd0e61e4ccef /mail/courier-imap
parente72c295eb5b956de5cce7f921eb7ac4864002549 (diff)
downloadpkgsrc-36ccbedf479214fb021c0f0247379d51aae93495.tar.gz
Pass the install-time definition of sysconfdir through to sub-make
processes. Since courier-imap uses GNU automake, we need to set AM_MAKEFLAGS to the correct value. This fixes the installation of the example config files into ${PREFIX}/share/examples/courier.
Diffstat (limited to 'mail/courier-imap')
-rw-r--r--mail/courier-imap/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 189f04e62a4..8083af788a7 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2005/04/11 21:46:18 tv Exp $
+# $NetBSD: Makefile,v 1.37 2005/05/13 05:20:48 jlam Exp $
DISTNAME= courier-imap-4.0.2
PKGBASE= ${DISTNAME:C/-[^-]*$//}
@@ -27,7 +27,8 @@ CONFIGURE_ARGS+= --with-piddir=${VARBASE}/run
CONFIGURE_ARGS+= --program-transform-name='s/\.rc$$//'
CONFIGURE_ENV+= OPENSSL=${SSLBASE}/bin/openssl
-INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
+INSTALL_AM_MAKEFLAGS= sysconfdir=${EGDIR}
+INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} AM_MAKEFLAGS=${INSTALL_AM_MAKEFLAGS:Q}
GEN_FILES= imapd imapd-ssl pop3d pop3d-ssl
SSLCNF_FILES= imapd.cnf pop3d.cnf