From 78700c220b6141b80d8c715f59c3f6013ceadad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lucas?= Date: Sun, 16 Jun 2024 01:35:16 +0100 Subject: [PATCH] fix steghide install when /bin/sh is dash --- app-crypt/steghide/steghide-0.5.1-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app-crypt/steghide/steghide-0.5.1-r1.ebuild b/app-crypt/steghide/steghide-0.5.1-r1.ebuild index ccc59e71b8..ebfe002e51 100644 --- a/app-crypt/steghide/steghide-0.5.1-r1.ebuild +++ b/app-crypt/steghide/steghide-0.5.1-r1.ebuild @@ -43,5 +43,7 @@ src_compile() { } src_install() { - emake DESTDIR="${ED}" docdir="${EPREFIX}/usr/share/doc/${PF}" install || die "emake install failed" + local libtool + [[ ${CHOST} == *-darwin* ]] && libtool=$(type -P glibtool) || libtool=$(type -P libtool) + emake DESTDIR="${ED}" docdir="${EPREFIX}/usr/share/doc/${PF}" LIBTOOL="${libtool}" install || die "emake install failed" }