diff options
author | reed <reed> | 2004-08-06 03:14:22 +0000 |
---|---|---|
committer | reed <reed> | 2004-08-06 03:14:22 +0000 |
commit | 4bd686bf7af44fba3f2848777047a7efd1de5899 (patch) | |
tree | 3d5a3597b2e5335e1ab81e1cdf919ae2609c8385 /security/PAM/builtin.mk | |
parent | 1739b49f1a2b4dec69af46228e99142a4cded044 (diff) | |
download | pkgsrc-4bd686bf7af44fba3f2848777047a7efd1de5899.tar.gz |
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 (limited to 'security/PAM/builtin.mk')
-rw-r--r-- | security/PAM/builtin.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/PAM/builtin.mk b/security/PAM/builtin.mk index 43cbb672fce..91c7ce1f3ce 100644 --- a/security/PAM/builtin.mk +++ b/security/PAM/builtin.mk @@ -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 |