summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2013-06-04 14:58:46 +0000
committerschmonz <schmonz@pkgsrc.org>2013-06-04 14:58:46 +0000
commitca3283e9d18581bce47569e8cfa8dcb4ac909109 (patch)
treecb7ff92446dea7461d613982c951ea814c6c66b4
parentf705f8e0ba7edcc4e3e6c537388083086c59ba8d (diff)
downloadpkgsrc-ca3283e9d18581bce47569e8cfa8dcb4ac909109.tar.gz
Control the dependency on p5-GSSAPI via the 'gssapi' option. Still
on by default, so no PKGREVISION bump.
-rw-r--r--security/p5-Authen-SASL/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/security/p5-Authen-SASL/Makefile b/security/p5-Authen-SASL/Makefile
index 7128c525d61..46ef9c5d834 100644
--- a/security/p5-Authen-SASL/Makefile
+++ b/security/p5-Authen-SASL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2013/05/31 12:41:53 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2013/06/04 14:58:46 schmonz Exp $
#
DISTNAME= Authen-SASL-2.16
@@ -17,8 +17,14 @@ PERL5_MODULE_TYPE= Module::Install::Bundled
DEPENDS+= p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
DEPENDS+= {perl>=5.7.3,p5-Digest-MD5-[0-9]*}:../../security/p5-Digest-MD5
-# recommended
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Authen-SASL
+PKG_SUPPORTED_OPTIONS= gssapi
+PKG_SUGGESTED_OPTIONS= gssapi
+.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mgssapi)
DEPENDS+= p5-GSSAPI-[0-9]*:../../security/p5-GSSAPI
+.endif
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"