summaryrefslogtreecommitdiff
path: root/mail/courier-imap/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-19 17:05:38 +0000
committerjlam <jlam@pkgsrc.org>2005-05-19 17:05:38 +0000
commitf13fc5c1d49495443ebff1ee63ce315329048753 (patch)
treeb6e602592d0e9dd047b56f7ba07e737522381632 /mail/courier-imap/Makefile
parentf3d2e84d49d02580fc4869f9fa8ea05393f44f61 (diff)
downloadpkgsrc-f13fc5c1d49495443ebff1ee63ce315329048753.tar.gz
The courier-imap and sqwebmail packages embed ${SETENV} into scripts, so
pass the real "env" command path to the configure script. This avoids the configure script just detecting "env" in the tools directory and assuming that's the path to the real thing. This fixes PR pkg/30282.
Diffstat (limited to 'mail/courier-imap/Makefile')
-rw-r--r--mail/courier-imap/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 8083af788a7..fc5a3f8d216 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2005/05/13 05:20:48 jlam Exp $
+# $NetBSD: Makefile,v 1.38 2005/05/19 17:05:38 jlam Exp $
DISTNAME= courier-imap-4.0.2
PKGBASE= ${DISTNAME:C/-[^-]*$//}
@@ -16,6 +16,7 @@ USE_GNU_TOOLS+= make
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PERL5= build
+USE_TOOLS+= env
.include "../../mail/courier-maildir/Makefile.common"
@@ -26,6 +27,7 @@ CONFIGURE_ARGS+= --with-mailuser=${ROOT_USER}
CONFIGURE_ARGS+= --with-piddir=${VARBASE}/run
CONFIGURE_ARGS+= --program-transform-name='s/\.rc$$//'
CONFIGURE_ENV+= OPENSSL=${SSLBASE}/bin/openssl
+CONFIGURE_ENV+= SETENV=${TOOLS_SETENV:Q}
INSTALL_AM_MAKEFLAGS= sysconfdir=${EGDIR}
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} AM_MAKEFLAGS=${INSTALL_AM_MAKEFLAGS:Q}