app-crypt/rhash: fix configure for Solaris
authorFabian Groffen <grobian@gentoo.org>
Mon, 14 Jan 2019 18:30:55 +0000 (19:30 +0100)
committerFabian Groffen <grobian@gentoo.org>
Mon, 14 Jan 2019 18:32:19 +0000 (19:32 +0100)
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

app-crypt/rhash/rhash-1.3.7.ebuild

index 52b9332ac35af4ec8b3b45ebbdda7cc2550d68d8..e179038547c02c0342d2bcdc4a12cd356d317a67 100644 (file)
@@ -32,6 +32,9 @@ S="${WORKDIR}/RHash-${PV}"
 
 src_prepare() {
        default
+       # fix Solaris detection, upstream:
+       # https://github.com/rhash/RHash/pull/81
+       sed -i -e 's/sunos)/solaris2.*)/' configure || die
        multilib_copy_sources
 }