summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-07-30 21:05:41 +0000
committerjlam <jlam@pkgsrc.org>2004-07-30 21:05:41 +0000
commitb460ce1ab51a88c8a15737b9aaf78a949fe6f32e (patch)
tree90f33a51019f85b91b5f29838193d07638327f1c /security/cyrus-sasl2/Makefile
parent85306a83480ca871311e350b3814452b76f3b8a2 (diff)
downloadpkgsrc-b460ce1ab51a88c8a15737b9aaf78a949fe6f32e.tar.gz
Convert to use bsd.options.mk. The relevant options variable to set
for each package can be determined by invoking: make show-var VARNAME=PKG_OPTIONS_VAR The old options are still supported unless the variable named in PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
Diffstat (limited to 'security/cyrus-sasl2/Makefile')
-rw-r--r--security/cyrus-sasl2/Makefile21
1 files changed, 3 insertions, 18 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index 459d29b515f..d1bd3693dc4 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2004/07/08 21:11:25 recht Exp $
+# $NetBSD: Makefile,v 1.33 2004/07/30 21:05:41 jlam Exp $
.include "Makefile.common"
@@ -6,8 +6,6 @@ PKGREVISION= 3
SVR4_PKGNAME= csasl
COMMENT= Simple Authentication and Security Layer
-PLIST_SRC+= ${PKGDIR}/PLIST.common
-
.if exists(/usr/include/ndbm.h)
SASL_DBTYPE?= ndbm
.else
@@ -42,6 +40,8 @@ AUTHDAEMONVAR?= ${VARBASE}/authdaemon
CONFIGURE_ARGS+= --with-authdaemond=${AUTHDAEMONVAR}
BUILD_DEFS+= AUTHDAEMONVAR
+.include "Makefile.options"
+
.if exists(/dev/urandom)
SASL_ENTROPY_SOURCE?= /dev/urandom
.endif
@@ -50,21 +50,6 @@ CONFIGURE_ARGS+= --with-devrandom=${SASL_ENTROPY_SOURCE}
.endif
BUILD_DEFS+= SASL_ENTROPY_SOURCE
-.if defined(KERBEROS)
-SASL_USE_GSSAPI= yes
-.endif
-.if (defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS]))
-. include "../../mk/krb5.buildlink3.mk"
-CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE} # GSSAPI
-CONFIGURE_ARGS+= --with-gss_impl=${GSSIMPL.${KRB5_TYPE}}
-GSSIMPL.heimdal= heimdal
-GSSIMPL.mit-krb5= mit
-PLIST_SRC+= ${PKGDIR}/PLIST.krb5
-.endif
-BUILD_DEFS+= SASL_USE_GSSAPI
-
-PLIST_SRC+= ${PKGDIR}/PLIST.plugins
-
USE_PKGINSTALL= YES
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL