summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-06-06 13:46:28 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-06-06 13:46:49 +0200
commit91fa79f3be6429a740d22e341082b2b2cb76f95d (patch)
tree18ae7561366fabc347bbb96299ffb5aacad8cb9d /sys-apps/attr
parentdev-haskell/gtk3: drop old (diff)
downloadgentoo-91fa79f3be6429a740d22e341082b2b2cb76f95d.tar.gz
gentoo-91fa79f3be6429a740d22e341082b2b2cb76f95d.tar.bz2
gentoo-91fa79f3be6429a740d22e341082b2b2cb76f95d.zip
sys-apps/attr: Don't call readelf directly
Thanks-to: Kent Fredric <kentnl@gentoo.org> Closes: https://bugs.gentoo.org/727296 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/attr')
-rw-r--r--sys-apps/attr/attr-2.4.48-r3.ebuild4
-rw-r--r--sys-apps/attr/attr-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-apps/attr/attr-2.4.48-r3.ebuild b/sys-apps/attr/attr-2.4.48-r3.ebuild
index ec4a78d14625..baa2831efd2a 100644
--- a/sys-apps/attr/attr-2.4.48-r3.ebuild
+++ b/sys-apps/attr/attr-2.4.48-r3.ebuild
@@ -56,8 +56,8 @@ multilib_src_install() {
# Sanity check until we track down why this is happening. #644048
local lib="${ED%/}/usr/$(get_libdir)/libattr.so.1"
if [[ -e ${lib} ]] ; then
- local versions=$(readelf -V "${lib}")
- local symbols=$(readelf -sW "${lib}")
+ local versions=$($(tc-getREADELF) -V "${lib}")
+ local symbols=$($(tc-getREADELF) -sW "${lib}")
if [[ "${versions}" != *"ATTR_1.0"* || \
"${versions}" != *"ATTR_1.1"* || \
"${versions}" != *"ATTR_1.2"* || \
diff --git a/sys-apps/attr/attr-9999.ebuild b/sys-apps/attr/attr-9999.ebuild
index 72f0547d9c0f..8d4a48d28f08 100644
--- a/sys-apps/attr/attr-9999.ebuild
+++ b/sys-apps/attr/attr-9999.ebuild
@@ -64,8 +64,8 @@ multilib_src_install() {
# Sanity check until we track down why this is happening. #644048
local lib="${ED}/usr/$(get_libdir)/libattr.so.1"
if [[ -e ${lib} ]] ; then
- local versions=$(readelf -V "${lib}")
- local symbols=$(readelf -sW "${lib}")
+ local versions=$($(tc-getREADELF) -V "${lib}")
+ local symbols=$((tc-getREADELF) -sW "${lib}")
if [[ "${versions}" != *"ATTR_1.0"* || \
"${versions}" != *"ATTR_1.1"* || \
"${versions}" != *"ATTR_1.2"* || \