summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-01-14 07:37:39 +0000
committerjlam <jlam@pkgsrc.org>2005-01-14 07:37:39 +0000
commit643b26af82b8ab7b4e40d256ccf55bf11da9efd4 (patch)
tree1592e1baf93374a4ea49c754d0d5fd75d63ce9c8 /mk
parent151f14b2697fa89fc982037754d5754c9b641381 (diff)
downloadpkgsrc-643b26af82b8ab7b4e40d256ccf55bf11da9efd4.tar.gz
We need to check that IS_BUILTIN.<pam> is "yes", not just that it's empty.
Diffstat (limited to 'mk')
-rw-r--r--mk/pam.buildlink3.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/pam.buildlink3.mk b/mk/pam.buildlink3.mk
index ac78ff2463a..648a717a9e5 100644
--- a/mk/pam.buildlink3.mk
+++ b/mk/pam.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pam.buildlink3.mk,v 1.1 2005/01/14 05:15:39 jlam Exp $
+# $NetBSD: pam.buildlink3.mk,v 1.2 2005/01/14 07:37:39 jlam Exp $
#
# This Makefile fragment is meant to be included by packages that
# require a PAM implementation. pam.buildlink3.mk will:
@@ -38,7 +38,8 @@ BUILDLINK_BUILTIN_MK.solaris-pam= ../../mk/solaris-pam.builtin.mk
. if exists(${BUILDLINK_BUILTIN_MK.${_pam_}})
CHECK_BUILTIN.${_pam_}:= yes
. include "${BUILDLINK_BUILTIN_MK.${_pam_}}"
-. if defined(IS_BUILTIN.${_pam_}) && !empty(IS_BUILTIN.${_pam_})
+. if defined(IS_BUILTIN.${_pam_}) && \
+ !empty(IS_BUILTIN.${_pam_}:M[yY][eE][sS])
PAM_DEFAULT?= ${_pam_}
. endif
CHECK_BUILTIN.${_pam_}:= no