diff options
author | jlam <jlam@pkgsrc.org> | 2004-07-30 21:05:41 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-07-30 21:05:41 +0000 |
commit | b460ce1ab51a88c8a15737b9aaf78a949fe6f32e (patch) | |
tree | 90f33a51019f85b91b5f29838193d07638327f1c /security/sudo | |
parent | 85306a83480ca871311e350b3814452b76f3b8a2 (diff) | |
download | pkgsrc-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/sudo')
-rw-r--r-- | security/sudo/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile index 53aa519060c..e66d4f85b10 100644 --- a/security/sudo/Makefile +++ b/security/sudo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.63 2004/03/22 08:45:56 jlam Exp $ +# $NetBSD: Makefile,v 1.64 2004/07/30 21:05:42 jlam Exp $ # DISTNAME= sudo-1.6.7p5 @@ -32,9 +32,20 @@ CONFIGURE_ARGS+= --with-skey CONFIGURE_ARGS+= --without-skey .endif +# Global and legacy options .if defined(KERBEROS) -CONFIGURE_ARGS+= --without-kerb4 +. if !defined(PKG_OPTIONS.sudo) +PKG_OPTIONS.sudo+= kerberos +. endif +.endif + +PKG_OPTIONS_VAR= PKG_OPTIONS.sudo +PKG_SUPPORTED_OPTIONS= kerberos +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mkerberos) . include "../../mk/krb5.buildlink3.mk" +CONFIGURE_ARGS+= --without-kerb4 CONFIGURE_ARGS+= --with-kerb5 .else CONFIGURE_ARGS+= --without-kerb5 |