summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/cyrus-sasl/Makefile')
-rw-r--r--security/cyrus-sasl/Makefile21
1 files changed, 19 insertions, 2 deletions
diff --git a/security/cyrus-sasl/Makefile b/security/cyrus-sasl/Makefile
index 0f00671f9a7..b3deb6d93d7 100644
--- a/security/cyrus-sasl/Makefile
+++ b/security/cyrus-sasl/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2000/10/21 18:50:49 rh Exp $
+# $NetBSD: Makefile,v 1.3 2000/10/25 08:00:24 rh Exp $
DISTNAME= cyrus-sasl-1.5.24
+PKGNAME= ${DISTNAME}nb1
CATEGORIES= security
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
@@ -26,10 +27,26 @@ CONFIGURE_ARGS+= --with-plugindir=${PREFIX}/lib/sasl
CONFIGURE_ARGS+= --with-pam=${PREFIX}
DEPENDS+= PAM-*:../../security/PAM
.endif
+.if defined(CYRUS_USE_PWCHECK)
+CONFIGURE_ARGS+= --with-pwcheck
+.endif
+.if defined(KERBEROS) && (${KERBEROS} == 4)
+CONFIGURE_ARGS+= --enable-krb4
+DEPENDS+= kth-krb4-*:../../security/kth-krb4
+.else
+CONFIGURE_ARGS+= --disable-krb4
+.endif
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
post-build:
- ${CAT} ${PKGDIR}/PLIST.common ${PKGDIR}/PLIST.${LOWER_OPSYS} > ${PLIST_SRC}
+ ${ECHO} > ${PLIST_SRC}
+.if defined(CYRUS_USE_PWCHECK)
+ ${CAT} ${PKGDIR}/PLIST.pwcheck >> ${PLIST_SRC}
+.endif
+.if defined(KERBEROS) && (${KERBEROS} == 4)
+ ${CAT} ${PKGDIR}/PLIST.krb4 >> ${PLIST_SRC}
+.endif
+ ${CAT} ${PKGDIR}/PLIST.common ${PKGDIR}/PLIST.${LOWER_OPSYS} >> ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"