diff options
author | wiz <wiz> | 2010-05-02 20:26:13 +0000 |
---|---|---|
committer | wiz <wiz> | 2010-05-02 20:26:13 +0000 |
commit | 9ae7528ed4f3c59707546c38b3e571b1e70a2c81 (patch) | |
tree | f029725f316918086f008bc8354b832978a7ab7b | |
parent | b914cc2d39496d539c321abb1807818e9d31e199 (diff) | |
download | pkgsrc-9ae7528ed4f3c59707546c38b3e571b1e70a2c81.tar.gz |
Revert v1.3.
It broke expat detection/usage on NetBSD with native X.
See thread "intltool not building (expat problem)" on tech-pkg,
started on May 1.
-rw-r--r-- | mk/buildlink3/find-files.mk | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/mk/buildlink3/find-files.mk b/mk/buildlink3/find-files.mk index c82db394493..ee9c98be7c1 100644 --- a/mk/buildlink3/find-files.mk +++ b/mk/buildlink3/find-files.mk @@ -1,4 +1,4 @@ -# $NetBSD: find-files.mk,v 1.3 2010/04/28 08:02:18 obache Exp $ +# $NetBSD: find-files.mk,v 1.4 2010/05/02 20:26:13 wiz Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -83,30 +83,17 @@ USE_TOOLS+= grep . if !defined(${_var_}) ${_var_}= __nonexistent__ . for _file_ in ${BUILTIN_FIND_FILES.${_var_}} -. if !empty(${_var_}:M__nonexistent__) -_real_file_= __noexistent__ -. if exists(${_file_}) -_real_file_= ${_file_} -. endif -. if !empty(_real_file_:M__noexistent__) && defined(BEINCLUDES) && !empty(BEINCLUDES) -. for _try_file_ in ${BEINCLUDES:S/;/ /g:=${_file_:S/\/usr\/include\//\//g}} -. if !empty(_real_file_:M__noexistent__) && exists(${_try_file_}) -_real_file_= ${_try_file_} -. endif -. endfor -. endif -. if empty(_real_file_:M__noexistent__) +. if !empty(${_var_}:M__nonexistent__) && exists(${_file_}) . if !defined(BUILTIN_FIND_GREP.${_var_}) -${_var_}= ${_real_file_} +${_var_}= ${_file_} . else ${_var_}!= \ - if ${GREP} -q ${BUILTIN_FIND_GREP.${_var_}:Q} ${_real_file_:Q}; then \ - ${ECHO} ${_real_file_:Q}; \ + if ${GREP} -q ${BUILTIN_FIND_GREP.${_var_}:Q} ${_file_:Q}; then \ + ${ECHO} ${_file_:Q}; \ else \ ${ECHO} __nonexistent__; \ fi . endif -. endif . endif . endfor . endif |