summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-03-10 15:56:24 +0000
committerjperkin <jperkin@pkgsrc.org>2016-03-10 15:56:24 +0000
commitc99375bd594eb68e3695309ef58f5055324f5c90 (patch)
treecdcc68ef8d537356487c9ccb750947eb32168f45 /mk
parentbf0314d677ebe19d348c3a1f5136ea4301772817 (diff)
downloadpkgsrc-c99375bd594eb68e3695309ef58f5055324f5c90.tar.gz
Reset 'found' variable for each library check. Previously, all subsequent
tests would pass after the first successful check. Exposes library issues in a number of packages.
Diffstat (limited to 'mk')
-rw-r--r--mk/check/check-shlibs-elf.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/check/check-shlibs-elf.awk b/mk/check/check-shlibs-elf.awk
index ad6d2f96829..ec3eaee6db4 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.12 2015/11/16 17:53:29 jperkin Exp $
+# $NetBSD: check-shlibs-elf.awk,v 1.13 2016/03/10 15:56:24 jperkin Exp $
#
# Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>.
# All rights reserved.
@@ -135,6 +135,7 @@ function checkshlib(DSO, needed, rpath, found, dso_rpath, got_rpath, nrpath) {
}
}
for (lib in needed) {
+ found = 0
for (p = 1; p <= nrpath; p++) {
libfile = cross_destdir rpath[p] "/" lib
if (!(libfile in libcache)) {