app-crypt/libscrypt: properly set install prefix

Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35855
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Yiyang Wu
2024-03-21 22:14:02 +08:00
committed by Sam James
parent c8071bc689
commit 0b266cf1d1

View File

@@ -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
}