summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-05-19 18:23:43 -0400
committerMike Gilbert <floppym@gentoo.org>2023-05-19 18:25:59 -0400
commit4eec5b99e9529e5ef0437b60da6aa1fcebb88c4a (patch)
tree85d908f449318a212a1c209e92653765eab724cd /sys-apps/util-linux
parentdev-db/etcd: add 3.4.26 (diff)
downloadgentoo-4eec5b99e9529e5ef0437b60da6aa1fcebb88c4a.tar.gz
gentoo-4eec5b99e9529e5ef0437b60da6aa1fcebb88c4a.tar.bz2
gentoo-4eec5b99e9529e5ef0437b60da6aa1fcebb88c4a.zip
sys-apps/util-linux: pass --runstatedir=/run to configure
This path is used in a few places. Previously this got defaulted to /var/lib/run because econf sets localstatedir to /var/lib. Closes: https://github.com/gentoo/gentoo/pull/30870 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r--sys-apps/util-linux/util-linux-2.39-r1.ebuild (renamed from sys-apps/util-linux/util-linux-2.39.ebuild)2
-rw-r--r--sys-apps/util-linux/util-linux-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys-apps/util-linux/util-linux-2.39.ebuild b/sys-apps/util-linux/util-linux-2.39-r1.ebuild
index 209689b06193..f58e55eaff9f 100644
--- a/sys-apps/util-linux/util-linux-2.39.ebuild
+++ b/sys-apps/util-linux/util-linux-2.39-r1.ebuild
@@ -202,6 +202,8 @@ multilib_src_configure() {
# configure args shared by python and non-python builds
local commonargs=(
+ --localstatedir="${EPREFIX}/var"
+ --runstatedir="${EPREFIX}/run"
--enable-fs-paths-extra="${EPREFIX}/usr/sbin:${EPREFIX}/bin:${EPREFIX}/usr/bin"
)
diff --git a/sys-apps/util-linux/util-linux-9999.ebuild b/sys-apps/util-linux/util-linux-9999.ebuild
index 209689b06193..f58e55eaff9f 100644
--- a/sys-apps/util-linux/util-linux-9999.ebuild
+++ b/sys-apps/util-linux/util-linux-9999.ebuild
@@ -202,6 +202,8 @@ multilib_src_configure() {
# configure args shared by python and non-python builds
local commonargs=(
+ --localstatedir="${EPREFIX}/var"
+ --runstatedir="${EPREFIX}/run"
--enable-fs-paths-extra="${EPREFIX}/usr/sbin:${EPREFIX}/bin:${EPREFIX}/usr/bin"
)