diff options
author | jlam <jlam> | 2006-03-30 18:06:17 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-03-30 18:06:17 +0000 |
commit | a35f9b4747edb8252e3b814ea5580fd22f62dc6b (patch) | |
tree | a4e8c404ab7153a9727f5d7f913a25bdd6b97971 /x11/Xfixes/builtin.mk | |
parent | a363c62fe6f0f041b9e87d700fa75aa44358a5d9 (diff) | |
download | pkgsrc-a35f9b4747edb8252e3b814ea5580fd22f62dc6b.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 'x11/Xfixes/builtin.mk')
-rw-r--r-- | x11/Xfixes/builtin.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/Xfixes/builtin.mk b/x11/Xfixes/builtin.mk index 59d68dac2ac..f5696f18a59 100644 --- a/x11/Xfixes/builtin.mk +++ b/x11/Xfixes/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.8 2005/06/03 19:12:49 jlam Exp $ +# $NetBSD: builtin.mk,v 1.9 2006/03/30 18:06:19 jlam Exp $ BUILTIN_PKG:= Xfixes @@ -13,7 +13,7 @@ BUILTIN_FIND_FILES.H_XFIXES= ${X11BASE}/include/X11/extensions/Xfixes.h ### .if !defined(IS_BUILTIN.Xfixes) IS_BUILTIN.Xfixes= no -. if exists(${H_XFIXES}) +. if empty(H_XFIXES:M__nonexistent__) BUILTIN_IMAKE_CHECK:= Xfixes:BuildXfixesLibrary . include "../../mk/buildlink3/imake-check.mk" IS_BUILTIN.Xfixes= ${BUILTIN_IMAKE_CHECK.Xfixes} |