summaryrefslogtreecommitdiff
path: root/security/sudo/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2004-08-22 19:32:51 +0000
committerjlam <jlam>2004-08-22 19:32:51 +0000
commit5cc6a7c1f324655a55780f73b3d7d11d39d55ec5 (patch)
treebe106f064832dabfe855335adc4a7d14708a360a /security/sudo/Makefile
parenta3f9a03576685fb9a6a35d58b1695247504fc00a (diff)
downloadpkgsrc-5cc6a7c1f324655a55780f73b3d7d11d39d55ec5.tar.gz
Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework. Instead of appending to ${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes the default options to be the union of PKG_DEFAULT_OPTIONS and any old USE_* and FOO_USE_* settings. This fixes PR pkg/26590.
Diffstat (limited to 'security/sudo/Makefile')
-rw-r--r--security/sudo/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index e66d4f85b10..2e0638ec933 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2004/07/30 21:05:42 jlam Exp $
+# $NetBSD: Makefile,v 1.65 2004/08/22 19:32:52 jlam Exp $
#
DISTNAME= sudo-1.6.7p5
@@ -32,13 +32,6 @@ CONFIGURE_ARGS+= --with-skey
CONFIGURE_ARGS+= --without-skey
.endif
-# Global and legacy options
-.if defined(KERBEROS)
-. 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"