diff options
author | obache <obache@pkgsrc.org> | 2012-06-16 11:58:07 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-06-16 11:58:07 +0000 |
commit | b6125e5e1ab81c9e60d98f5657285e38e568a0d1 (patch) | |
tree | 856dcfda8bf450a146f0e4a0f8786f24e34d19ca /mk/check | |
parent | edecddb1c36376421b643cd1e688024c482fa7f5 (diff) | |
download | pkgsrc-b6125e5e1ab81c9e60d98f5657285e38e568a0d1.tar.gz |
Revert last change.
Honor dicision of the copyright holder.
Diffstat (limited to 'mk/check')
-rw-r--r-- | mk/check/check-shlibs-elf.awk | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/mk/check/check-shlibs-elf.awk b/mk/check/check-shlibs-elf.awk index 32f44c9a477..fe2ab1cc053 100644 --- a/mk/check/check-shlibs-elf.awk +++ b/mk/check/check-shlibs-elf.awk @@ -1,4 +1,4 @@ -# $NetBSD: check-shlibs-elf.awk,v 1.4 2012/06/15 14:46:53 obache Exp $ +# $NetBSD: check-shlibs-elf.awk,v 1.5 2012/06/16 11:58:07 obache Exp $ # # Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. # All rights reserved. @@ -89,26 +89,11 @@ function check_pkg(DSO, pkg, found) { return 0 } } - close(depends_file) - if (found) { - req_cmd = pkg_info_cmd " -qr " shquote(pkg) " 2> /dev/null" - while ((req_cmd | getline) > 0) { - dpkg = $0 - while((getline < depends_file) > 0) { - if ($3 == dpkg && $1 == "full") { - close(depends_file) - close(req_cmd) - return 0 - } - } - close(depends_file) - } - close(req_cmd) - } if (found) print DSO ": " pkg " is not a runtime dependency" # Not yet: # print DSO ": " pkg " is not a dependency" + close(depends_file) } function checkshlib(DSO, needed, rpath, found, dso_rath, got_rpath) { |