diff options
author | jlam <jlam> | 2005-01-14 07:37:39 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-01-14 07:37:39 +0000 |
commit | f364e573897e43ec655f8d5373f445bc518cb177 (patch) | |
tree | 1592e1baf93374a4ea49c754d0d5fd75d63ce9c8 /mk | |
parent | 5bf9536e9603269f1aaba01be73c2be7624a6dd3 (diff) | |
download | pkgsrc-f364e573897e43ec655f8d5373f445bc518cb177.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.mk | 5 |
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 |