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:   triaxx
Date:           Fri Mar 23 04:31:53 UTC 2018

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

Log Message:
Wrong place to patch readelf


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/mk/check/check-shlibs-elf.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-elf.awk
diff -u pkgsrc/mk/check/check-shlibs-elf.awk:1.16 pkgsrc/mk/check/check-shlibs-elf.awk:1.17
--- pkgsrc/mk/check/check-shlibs-elf.awk:1.16   Thu Mar 22 09:37:17 2018
+++ pkgsrc/mk/check/check-shlibs-elf.awk        Fri Mar 23 04:31:53 2018
@@ -1,4 +1,4 @@
-# $NetBSD: check-shlibs-elf.awk,v 1.16 2018/03/22 09:37:17 triaxx Exp $
+# $NetBSD: check-shlibs-elf.awk,v 1.17 2018/03/23 04:31:53 triaxx Exp $
 #
 # Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
 # All rights reserved.
@@ -102,7 +102,7 @@ function check_pkg(DSO, pkg, found) {
 }
 
 function checkshlib(DSO, needed, rpath, found, dso_rpath, got_rpath, nrpath) {
-       cmd = "LANG=C" readelf " -Wd " shquote(DSO) " 2> /dev/null"
+       cmd = readelf " -Wd " shquote(DSO) " 2> /dev/null"
        while ((cmd | getline) > 0) {
                if ($2 == "(RPATH)" || $2 == "(RUNPATH)") {
                        sub("^[[:space:]]*0[xX][[:xdigit:]]+[[:space:]]+\\(RU?N?PATH\\)[[:space:]]+Library ru?n?path: \\[", "")



Home | Main Index | Thread Index | Old Index