summaryrefslogtreecommitdiff
path: root/mail/cyrus
diff options
context:
space:
mode:
authorkim <kim>1999-09-14 02:32:21 +0000
committerkim <kim>1999-09-14 02:32:21 +0000
commit8142fc32102dafbb74dd4804ee3fae1d247cd707 (patch)
treec571b85d580b9bea0de042a463ee35bc7651c0fe /mail/cyrus
parent31fd05b3892b304f923f609e1b6d97ac98c0ef25 (diff)
downloadpkgsrc-8142fc32102dafbb74dd4804ee3fae1d247cd707.tar.gz
Change how Kerberos support is enabled in pkgsrc.
Quick guide for compiling packages: - set KERBEROS=4 or KERBEROS=5 in /etc/mk.conf Quick guide for configuring Kerberos support in a package Makefile: - test for KERBEROS value and enable the appropriate version with CONFIGURE_ARGS or other means and set USE_KERBEROS=yes - make sure to disable Kerberos support otherwise (especially if using configure, which might automatically detect it) - BUILD_DEFS and RESTRICTED are set automatically in bsd.pkg.mk when USE_KERBEROS=yes is set
Diffstat (limited to 'mail/cyrus')
-rw-r--r--mail/cyrus/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/mail/cyrus/Makefile b/mail/cyrus/Makefile
index 7ad64082c9e..a131f445861 100644
--- a/mail/cyrus/Makefile
+++ b/mail/cyrus/Makefile
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.6 1999/08/18 09:28:02 agc Exp $
+# $NetBSD: Makefile,v 1.7 1999/09/14 02:32:23 kim Exp $
-DISTNAME= cyrus-imapd-v1.5.14
-CATEGORIES= mail
-MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
+DISTNAME= cyrus-imapd-v1.5.14
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
-MAINTAINER= kim@tac.nyc.ny.us
+MAINTAINER= kim@tac.nyc.ny.us
-DEPENDS+= tcl-8.0.5:../../lang/tcl80
+DEPENDS+= tcl-8.0.5:../../lang/tcl80
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
# XXX This package is not ready for general use!
# XXX I've imported it because my work on it has
@@ -24,15 +24,13 @@ CONFIGURE_ARGS+= --with-statedir=/var/run
CONFIGURE_ARGS+= --includedir=${LOCALBASE}/include/tcl8.0
CONFIGURE_ARGS+= --enable-netscapehack
-BUILD_DEFS+= USE_KERBEROS4
-
.include "../../mk/bsd.prefs.mk"
-.if defined(USE_KERBEROS4)
+.if defined(KERBEROS) && ${KERBEROS} == 4
+USE_KERBEROS= yes
CONFIGURE_ARGS+= --with-login=krb
-RESTRICTED= uses Kerberos encryption code
.endif
.include "../../mk/bsd.pkg.mk"
-PKGNAME!= ${ECHO} "${DISTNAME}" | ${SED} -e 's/-imapd-v/-/'
+PKGNAME!= ${ECHO} "${DISTNAME}" | ${SED} -e 's/-imapd-v/-/'