x11-misc/i3lock-color: fix pam/i3lock

use settings for Gentoo instead of Debian

Closes: https://bugs.gentoo.org/761202
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Jian Lin <jlin.gentoo@outlook.com>
This commit is contained in:
Jian Lin
2020-12-31 04:24:50 +08:00
parent 5386c8bec8
commit b34caab5c5
3 changed files with 21 additions and 0 deletions

View File

@@ -32,6 +32,13 @@ RDEPEND="
"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
sed -e 's/^#auth include system-auth/auth include system-auth/' \
-e 's/^auth include login/#auth include login/' \
-i pam/i3lock || die
}
src_configure() {
autoreconf -fiv
default

View File

@@ -32,6 +32,13 @@ RDEPEND="
"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
sed -e 's/^#auth include system-auth/auth include system-auth/' \
-e 's/^auth include login/#auth include login/' \
-i pam/i3lock || die
}
src_configure() {
autoreconf -fiv
default

View File

@@ -30,6 +30,13 @@ RDEPEND="
"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
sed -e 's/^#auth include system-auth/auth include system-auth/' \
-e 's/^auth include login/#auth include login/' \
-i pam/i3lock || die
}
src_configure() {
autoreconf -fiv
default