pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/check



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Nov  1 11:46:01 UTC 2023

Modified Files:
        pkgsrc/mk/check: check-shlibs-macho.awk

Log Message:
mk/check/check-shlibs-macho.awk: Bugfix

Reset 'found' variable for each library check.  Previously, all subsequent
tests would pass after the first successful check.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/mk/check/check-shlibs-macho.awk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/check/check-shlibs-macho.awk
diff -u pkgsrc/mk/check/check-shlibs-macho.awk:1.9 pkgsrc/mk/check/check-shlibs-macho.awk:1.10
--- pkgsrc/mk/check/check-shlibs-macho.awk:1.9  Fri Oct  9 20:18:30 2020
+++ pkgsrc/mk/check/check-shlibs-macho.awk      Wed Nov  1 11:46:00 2023
@@ -1,4 +1,4 @@
-# $NetBSD: check-shlibs-macho.awk,v 1.9 2020/10/09 20:18:30 jperkin Exp $
+# $NetBSD: check-shlibs-macho.awk,v 1.10 2023/11/01 11:46:00 pho Exp $
 
 #
 # Read a list of potential Mach-O binaries from stdin.
@@ -84,6 +84,7 @@ function checkshlib(DSO,      needed, found) 
        close(cmd)
        ndirs = split(cross_destdir ":" destdir, check_dirs, ":")
        for (lib in needed) {
+               found = 0
                #
                # Ensure we don't have any WRKDIR references.
                #



Home | Main Index | Thread Index | Old Index