mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
app-crypt/rhash: Sync with Gentoo
It's from Gentoo commit 19f9f9e07885986dbfaf3701b4aa0041b30873da.
This commit is contained in:
parent
84fc9e2382
commit
300b53696a
@ -42,6 +42,14 @@ src_prepare() {
|
||||
librhash/util.h || die
|
||||
fi
|
||||
|
||||
# upstream fix for BSD and others, but was only applied for BSD
|
||||
# we need support for Solaris, where we use a GNU toolchain, so use
|
||||
# the original hack, hopefully next release has this fixed
|
||||
# https://github.com/rhash/RHash/issues/238
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
sed -i -e 's/^elif linux; then/else/' configure || die
|
||||
fi
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user