summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mail/courier-imap/courier-imap-1.3.8.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-mail/courier-imap/courier-imap-1.3.8.ebuild b/net-mail/courier-imap/courier-imap-1.3.8.ebuild
index 0f95f85bb91b..c6e168a64b7d 100644
--- a/net-mail/courier-imap/courier-imap-1.3.8.ebuild
+++ b/net-mail/courier-imap/courier-imap-1.3.8.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-1.3.8.ebuild,v 1.2 2001/05/30 18:24:34 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-1.3.8.ebuild,v 1.3 2001/06/01 14:53:46 blutgens Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -18,8 +18,8 @@ DEPEND="virtual/glibc sys-devel/perl sys-apps/procps
gdbm? ( >=sys-libs/gdbm-1.8.0 )"
RDEPEND="virtual/glibc
- >=sys-libs/pam-0.75
>=dev-libs/openssl-0.9.6
+ pam? ( >=sys-libs/pam-0.75 )
ldap? ( >=net-nds/openldap-1.2.11 )
mysql? ( >=dev-db/mysql-3.23.36 )
berkdb? ( >=sys-libs/db-3.2 )
@@ -47,6 +47,9 @@ src_compile() {
else
myconf="$myconf --with-db=gdbm"
fi
+ if [ -z "`use pam`" ] ; then
+ myconf="$myconf --disable-pam"
+ fi
try ./configure --sysconfdir=/etc/courier-imap --prefix=/usr \
--bindir=/usr/sbin --libexecdir=/usr/lib/courier-imap \
--localstatedir=/var/lib/courier-imap --mandir=/usr/share/man \