commit:     b1d0267a0c42742a05e4a378978dc0e309a7ebc7
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  4 15:48:05 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Tue Oct  4 15:48:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1d0267a

sys-apps/hwinfo: respect EPREFIX in pkgconfig file

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 sys-apps/hwinfo/hwinfo-22.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild 
b/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild
index 0ca3f0bdb1a3..f26f8ed34b55 100644
--- a/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild
+++ b/sys-apps/hwinfo/hwinfo-22.1-r1.ebuild
@@ -47,7 +47,7 @@ src_prepare() {
 
 src_compile() {
        tc-export AR
-       emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" 
LIBDIR="/usr/$(get_libdir)"
+       emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" 
LIBDIR="${EPREFIX}/usr/$(get_libdir)"
 }
 
 src_install() {

Reply via email to