dev-libs/libptytty: look for utmp in /run

No revbump because with the /var/run symlink not going anywhere any time
soon, this is a trivial change.

Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2021-11-28 00:12:00 +01:00
parent 5970c90f57
commit 91a50cf39b
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -151,6 +151,7 @@
PT_FIND_FILE(
utmp
PT_UTMP_FILE
+ "/run/utmp"
"/var/run/utmp"
"/var/adm/utmp"
"/etc/utmp"

View File

@@ -13,4 +13,8 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
PATCHES=(
"${FILESDIR}"/${PN}-2.0-rundir.patch
)
DOCS=( Changes README )