pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk We need to check that IS_BUILTIN.<pam> is "yes", no...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2087a61f39c2
branches:  trunk
changeset: 487420:2087a61f39c2
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Jan 14 07:37:39 2005 +0000

description:
We need to check that IS_BUILTIN.<pam> is "yes", not just that it's empty.

diffstat:

 mk/pam.buildlink3.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 99eb16805d81 -r 2087a61f39c2 mk/pam.buildlink3.mk
--- a/mk/pam.buildlink3.mk      Fri Jan 14 06:29:55 2005 +0000
+++ b/mk/pam.buildlink3.mk      Fri Jan 14 07:37:39 2005 +0000
@@ -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 @@
 .    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



Home | Main Index | Thread Index | Old Index