pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/PAM Reorder conditions so that if make does s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fce41906920a
branches:  trunk
changeset: 479170:fce41906920a
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Aug 06 15:43:09 2004 +0000

description:
Reorder conditions so that if make does short-circuit boolean evalutation,
then we avoid hitting the disk if we don't need to.

diffstat:

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

diffs (20 lines):

diff -r 6063d37638d6 -r fce41906920a security/PAM/builtin.mk
--- a/security/PAM/builtin.mk   Fri Aug 06 15:41:46 2004 +0000
+++ b/security/PAM/builtin.mk   Fri Aug 06 15:43:09 2004 +0000
@@ -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 @@
 
 .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



Home | Main Index | Thread Index | Old Index