From 76f5fe608c189a66748df076128e1412eabe6b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Thu, 19 Nov 2020 23:43:25 -0300 Subject: [PATCH] elfutils: fix vmove for libdebuginfod. Applications linked against libdebuginfod will be linked against its soname, which is a symlink that was ending up in the libelf subpackage. --- srcpkgs/elfutils/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/elfutils/template b/srcpkgs/elfutils/template index a2a10ab6e63..3dfea2970a5 100644 --- a/srcpkgs/elfutils/template +++ b/srcpkgs/elfutils/template @@ -1,7 +1,7 @@ # Template file for 'elfutils' pkgname=elfutils version=0.182 -revision=3 +revision=4 build_style=gnu-configure configure_args="--program-prefix=eu-" hostmakedepends="automake libtool pkg-config" @@ -14,6 +14,8 @@ license="GPL-3.0-or-later" homepage="https://sourceware.org/elfutils/" distfiles="https://sourceware.org/${pkgname}/ftp/${version}/${pkgname}-${version}.tar.bz2" checksum=ecc406914edf335f0b7fc084ebe6c460c4d6d5175bfdd6688c1c78d9146b8858 +# subpackages require explicit ordering +subpackages="debuginfod libdebuginfod libelf elfutils-devel" CFLAGS="-Wno-error" CXXFLAGS="-Wl,-z,stack-size=2097152" @@ -38,7 +40,7 @@ pre_configure() { libdebuginfod_package() { short_desc+=" - debuginfod library" pkg_install() { - vmove "usr/lib/libdebuginfod-*.so*" + vmove "usr/lib/libdebuginfod*.so*" vmove etc/profile.d } }