summaryrefslogtreecommitdiff
path: root/x11/gdm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-06-10 13:53:47 +0000
committerjoerg <joerg@pkgsrc.org>2014-06-10 13:53:47 +0000
commit1b4ded59596f28f74c3a64016251e81eecc36721 (patch)
tree2e4c4448e44b659aaa1ea9519334a842ef6e4e69 /x11/gdm
parentc4f9d7ca57e3b22ffb9601b52420abc373060173 (diff)
downloadpkgsrc-1b4ded59596f28f74c3a64016251e81eecc36721.tar.gz
Use PAM_DEFAULT directly
Diffstat (limited to 'x11/gdm')
-rw-r--r--x11/gdm/options.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/gdm/options.mk b/x11/gdm/options.mk
index 0fd73bd9845..0155c67abcb 100644
--- a/x11/gdm/options.mk
+++ b/x11/gdm/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2012/06/12 15:46:04 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2014/06/10 13:53:47 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gdm
PKG_SUPPORTED_OPTIONS= consolekit inet6 pam
@@ -25,7 +25,7 @@ PLIST_VARS+= pam
.if !empty(PKG_OPTIONS:Mpam)
. include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+= --enable-authentication-scheme=pam
-. if ${PAM_TYPE} == "linux-pam"
+. if ${PAM_DEFAULT} == "linux-pam"
PLIST.pam= yes
. endif
.elif exists(/etc/shadow)