summaryrefslogtreecommitdiff
path: root/security/libdes
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-03-30 18:06:17 +0000
committerjlam <jlam@pkgsrc.org>2006-03-30 18:06:17 +0000
commit5821c0669819ba2f9f227b1d2e4caae4e6e92a56 (patch)
treea4e8c404ab7153a9727f5d7f913a25bdd6b97971 /security/libdes
parent4ebb7715f4e802673023e1e6a936e6c0d9ada427 (diff)
downloadpkgsrc-5821c0669819ba2f9f227b1d2e4caae4e6e92a56.tar.gz
Avoid extra stat() calls by not repeatedly checking whether a file
exists on the disk -- we can just check whether a variable defined by find-files.mk is "__nonexistent__" or not.
Diffstat (limited to 'security/libdes')
-rw-r--r--security/libdes/builtin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/libdes/builtin.mk b/security/libdes/builtin.mk
index 710e3277265..0e383ed6c6c 100644
--- a/security/libdes/builtin.mk
+++ b/security/libdes/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.4 2005/06/01 18:03:21 jlam Exp $
+# $NetBSD: builtin.mk,v 1.5 2006/03/30 18:06:18 jlam Exp $
BUILTIN_PKG:= libdes
@@ -13,7 +13,7 @@ BUILTIN_FIND_FILES.H_LIBDES= /usr/include/libdes.h /usr/include/des.h
###
.if !defined(IS_BUILTIN.libdes)
IS_BUILTIN.libdes= no
-. if empty(H_LIBDES:M${LOCALBASE}/*) && exists(${H_LIBDES})
+. if empty(H_LIBDES:M__nonexistent__) && empty(H_LIBDES:M${LOCALBASE}/*)
IS_BUILTIN.libdes= yes
. endif
.endif