summaryrefslogtreecommitdiff
path: root/mk/pam.buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam>2005-01-14 07:37:39 +0000
committerjlam <jlam>2005-01-14 07:37:39 +0000
commitc5ed20122b4acb9124c4027257523f77cadd7126 (patch)
tree1592e1baf93374a4ea49c754d0d5fd75d63ce9c8 /mk/pam.buildlink3.mk
parent462be61729224d244aba7a2971649bdffee93252 (diff)
downloadpkgsrc-c5ed20122b4acb9124c4027257523f77cadd7126.tar.gz
We need to check that IS_BUILTIN.<pam> is "yes", not just that it's empty.
Diffstat (limited to 'mk/pam.buildlink3.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