commit: 0b266cf1d19c8570fa800ad5ed73c05d0525a35c Author: Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com> AuthorDate: Thu Mar 21 14:14:02 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Mar 23 08:35:09 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b266cf1
app-crypt/libscrypt: properly set install prefix Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35855 Signed-off-by: Sam James <sam <AT> gentoo.org> app-crypt/libscrypt/libscrypt-1.22-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/libscrypt/libscrypt-1.22-r2.ebuild b/app-crypt/libscrypt/libscrypt-1.22-r2.ebuild index a5954ba92ca6..c01490457249 100644 --- a/app-crypt/libscrypt/libscrypt-1.22-r2.ebuild +++ b/app-crypt/libscrypt/libscrypt-1.22-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,10 +23,10 @@ src_prepare() { } src_configure() { + export PREFIX="${EPREFIX}"/usr export LIBDIR=${PREFIX}/$(get_libdir) export CFLAGS_EXTRA="${CFLAGS}" export LDFLAGS_EXTRA="${LDFLAGS}" - export PREFIX=/usr unset CFLAGS unset LDFLAGS }