summaryrefslogtreecommitdiff
path: root/mk/buildlink3/find-files.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-05-03 05:54:18 +0000
committerwiz <wiz@pkgsrc.org>2010-05-03 05:54:18 +0000
commit3ee8cdeb5419d7f1ebe15d3128b37707ce53a995 (patch)
tree776c711b806c9b5d8108c63f9dce28e0c41fa182 /mk/buildlink3/find-files.mk
parentcde727772b23449a94257e8adda372495c8e194a (diff)
downloadpkgsrc-3ee8cdeb5419d7f1ebe15d3128b37707ce53a995.tar.gz
Indent.
Diffstat (limited to 'mk/buildlink3/find-files.mk')
-rw-r--r--mk/buildlink3/find-files.mk26
1 files changed, 13 insertions, 13 deletions
diff --git a/mk/buildlink3/find-files.mk b/mk/buildlink3/find-files.mk
index f79b4a53dc1..a711a561a2c 100644
--- a/mk/buildlink3/find-files.mk
+++ b/mk/buildlink3/find-files.mk
@@ -1,4 +1,4 @@
-# $NetBSD: find-files.mk,v 1.6 2010/05/03 05:52:59 obache Exp $
+# $NetBSD: find-files.mk,v 1.7 2010/05/03 05:54:18 wiz Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -85,28 +85,28 @@ ${_var_}= __nonexistent__
. for _file_ in ${BUILTIN_FIND_FILES.${_var_}}
. if !empty(${_var_}:M__nonexistent__)
_real_file_= __nonexistent__
-. if exists(${_file_})
+. if exists(${_file_})
_real_file_= ${_file_}
-. endif
-. if !empty(_real_file_:M__nonexistent__) && defined(BEINCLUDES) && !empty(BEINCLUDES)
-. for _try_file_ in ${BEINCLUDES:S/;/ /g:=${_file_:S/\/usr\/include\//\//g}}
-. if !empty(_real_file_:M__nonexistent__) && exists(${_try_file_})
+. endif
+. if !empty(_real_file_:M__nonexistent__) && defined(BEINCLUDES) && !empty(BEINCLUDES)
+. for _try_file_ in ${BEINCLUDES:S/;/ /g:=${_file_:S/\/usr\/include\//\//g}}
+. if !empty(_real_file_:M__nonexistent__) && exists(${_try_file_})
_real_file_= ${_try_file_}
-. endif
-. endfor
-. endif
-. if empty(_real_file_:M__nonexistent__)
-. if !defined(BUILTIN_FIND_GREP.${_var_})
+. endif
+. endfor
+. endif
+. if empty(_real_file_:M__nonexistent__)
+. if !defined(BUILTIN_FIND_GREP.${_var_})
${_var_}:= ${_real_file_}
-. else
+. else
${_var_}!= \
if ${GREP} -q ${BUILTIN_FIND_GREP.${_var_}:Q} ${_real_file_:Q}; then \
${ECHO} ${_real_file_:Q}; \
else \
${ECHO} __nonexistent__; \
fi
+. endif
. endif
-. endif
. endif
. endfor
. endif