summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-13 05:20:48 +0000
committerjlam <jlam>2005-05-13 05:20:48 +0000
commit2e6a0756bd532a2a974c06ecf4c16f3dfac5225d (patch)
treee007ac097d3be936423bfa64f5f8dd0e61e4ccef /mail
parentc5067f16b90425a2036af66fb616324f52e0fd58 (diff)
downloadpkgsrc-2e6a0756bd532a2a974c06ecf4c16f3dfac5225d.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')
-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