summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiyang Wu <xgreenlandforwyy@gmail.com>2024-03-21 22:14:02 +0800
committerSam James <sam@gentoo.org>2024-03-23 08:35:09 +0000
commit0b266cf1d19c8570fa800ad5ed73c05d0525a35c (patch)
treeeb4f09ef574d97fe80723465ae94280d842ae10f /app-crypt
parentapp-emulation/qemu: Add missing ninja BDEPEND (diff)
downloadgentoo-0b266cf1d19c8570fa800ad5ed73c05d0525a35c.tar.gz
gentoo-0b266cf1d19c8570fa800ad5ed73c05d0525a35c.tar.bz2
gentoo-0b266cf1d19c8570fa800ad5ed73c05d0525a35c.zip
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>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/libscrypt/libscrypt-1.22-r2.ebuild4
1 files 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
}