commit:     e645be244bf14076147cfc22d39df4ae80cf1d44
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 28 20:50:59 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Sep 28 20:51:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e645be24

app-crypt/ssss: don't use which

Closes: https://bugs.gentoo.org/940450
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-crypt/ssss/{ssss-0.5.7-r1.ebuild => ssss-0.5.7-r2.ebuild} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-crypt/ssss/ssss-0.5.7-r1.ebuild 
b/app-crypt/ssss/ssss-0.5.7-r2.ebuild
similarity index 77%
rename from app-crypt/ssss/ssss-0.5.7-r1.ebuild
rename to app-crypt/ssss/ssss-0.5.7-r2.ebuild
index f847746a60e5..c9c3277abf1a 100644
--- a/app-crypt/ssss/ssss-0.5.7-r1.ebuild
+++ b/app-crypt/ssss/ssss-0.5.7-r2.ebuild
@@ -25,8 +25,10 @@ src_prepare() {
 
        tc-export CC
 
-       # Respect users [CL]FLAGS and don't strip, as portage does this part
-       sed -e 's/-O2/$(CFLAGS) -lgmp $(LDFLAGS)/g' -e '/strip/d' -i Makefile 
|| die
+       # 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
 }
 
 src_install() {

Reply via email to