diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-06 15:43:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-06 15:43:09 +0000 |
commit | f4359c23183711d207a1bfa378da1607461af031 (patch) | |
tree | b490d9957152cf3482a9f029a04edf49f9425c51 /security/PAM | |
parent | 176573927b5a582da760948e42031f4fd1d6aa3d (diff) | |
download | pkgsrc-f4359c23183711d207a1bfa378da1607461af031.tar.gz |
Reorder conditions so that if make does short-circuit boolean evalutation,
then we avoid hitting the disk if we don't need to.
Diffstat (limited to 'security/PAM')
-rw-r--r-- | security/PAM/builtin.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/PAM/builtin.mk b/security/PAM/builtin.mk index 2c85e5426e1..d8edc94d848 100644 --- a/security/PAM/builtin.mk +++ b/security/PAM/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.5 2004/08/06 15:41:46 jlam Exp $ +# $NetBSD: builtin.mk,v 1.6 2004/08/06 15:43:09 jlam Exp $ .include "../../mk/bsd.prefs.mk" @@ -6,8 +6,8 @@ _SECURITY_PAM_APPL_H= /usr/include/security/pam_appl.h .if !defined(IS_BUILTIN.pam) IS_BUILTIN.pam= no -. if exists(${_SECURITY_PAM_APPL_H}) && \ - empty(_SECURITY_PAM_APPL_H:M${LOCALBASE}/*) +. if empty(_SECURITY_PAM_APPL_H:M${LOCALBASE}/*) && \ + exists(${_SECURITY_PAM_APPL_H}) IS_BUILTIN.pam= yes . endif .endif # IS_BUILTIN.pam |