summaryrefslogtreecommitdiff
path: root/mail/courier-imap
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
commitf656db8708061cea4e9bdb31d5a15cb08885116a (patch)
treeb6e602592d0e9dd047b56f7ba07e737522381632 /mail/courier-imap
parentcb51bc17fed0524d3f599da7b82852a1ab59f8c2 (diff)
downloadpkgsrc-f656db8708061cea4e9bdb31d5a15cb08885116a.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')
-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}