pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/check Wrong place to patch readelf



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ea530d334e5
branches:  trunk
changeset: 377797:8ea530d334e5
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Fri Mar 23 04:31:53 2018 +0000

description:
Wrong place to patch readelf

diffstat:

 mk/check/check-shlibs-elf.awk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 98207a24a865 -r 8ea530d334e5 mk/check/check-shlibs-elf.awk
--- a/mk/check/check-shlibs-elf.awk     Thu Mar 22 17:08:56 2018 +0000
+++ b/mk/check/check-shlibs-elf.awk     Fri Mar 23 04:31:53 2018 +0000
@@ -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 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