pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/PAM In the rare case when LOCALBASE is /usr, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d349592aefc
branches:  trunk
changeset: 479147:7d349592aefc
user:      reed <reed%pkgsrc.org@localhost>
date:      Fri Aug 06 03:14:22 2004 +0000

description:
In the rare case when LOCALBASE is /usr, don't let this think
that /usr/include/security/pam_appl.h means that PAM is builtin.
(This is so a dependency can be registered correctly.)

diffstat:

 security/PAM/builtin.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r cacb672f1fec -r 7d349592aefc security/PAM/builtin.mk
--- a/security/PAM/builtin.mk   Fri Aug 06 03:11:00 2004 +0000
+++ b/security/PAM/builtin.mk   Fri Aug 06 03:14:22 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: builtin.mk,v 1.2 2004/03/29 05:43:35 jlam Exp $
+# $NetBSD: builtin.mk,v 1.3 2004/08/06 03:14:22 reed Exp $
 
 .if !defined(IS_BUILTIN.pam)
 IS_BUILTIN.pam=        no
-.  if exists(/usr/include/security/pam_appl.h)
+.  if exists(/usr/include/security/pam_appl.h) && (${LOCALBASE} != "/usr")
 IS_BUILTIN.pam=        yes
 .  endif
 .endif # IS_BUILTIN.pam



Home | Main Index | Thread Index | Old Index