commit: 08b98eae25ed4dc6d2c1af6749b172231cd3f5fd
Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 07:15:38 2019 +0000
Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Thu Jun 13 13:07:29 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08b98eae
app-crypt/rhash: fix configure for Cygwin
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>
app-crypt/rhash/rhash-1.3.8.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app-crypt/rhash/rhash-1.3.8.ebuild
b/app-crypt/rhash/rhash-1.3.8.ebuild
index e179038547c..4f5348c2244 100644
--- a/app-crypt/rhash/rhash-1.3.8.ebuild
+++ b/app-crypt/rhash/rhash-1.3.8.ebuild
@@ -35,6 +35,9 @@ src_prepare() {
# fix Solaris detection, upstream:
# https://github.com/rhash/RHash/pull/81
sed -i -e 's/sunos)/solaris2.*)/' configure || die
+ # fix Cygwin detection, upstream:
+ # https://github.com/rhash/RHash/pull/89
+ sed -i -e '/TARGET_OS=Darwin/acygwin*) TARGET_OS=CYGWIN ;;' configure
|| die
multilib_copy_sources
}