app-crypt/ssss: replace 'type -P' by 'command -v'

Closes: https://bugs.gentoo.org/940450
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2024-12-23 21:16:18 +01:00
parent a6e6948ef3
commit 77f2662e2d

View File

@@ -28,7 +28,7 @@ src_prepare() {
# Respect users [CL]FLAGS
# Don't strip, as portage does this part
# Don't use 'which'
sed -e 's/-O2/$(CFLAGS) -lgmp $(LDFLAGS)/g' -e '/strip/d' -e 's/which/type -P/g' -i Makefile || die
sed -e 's/-O2/$(CFLAGS) -lgmp $(LDFLAGS)/g' -e '/strip/d' -e 's/which/command -v/g' -i Makefile || die
}
src_install() {