Сравнение rhash-1.4.3 с rhash-1.4.4
/usr/portage/app-crypt/rhash/rhash-1.4.4.ebuild 2023-10-09 14:52:28.240368319 +0300 | ||
---|---|---|
10 | 10 |
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" |
11 | 11 | |
12 | 12 |
LICENSE="0BSD" |
13 |
SLOT="0" |
|
14 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
13 |
SLOT="0/1" |
|
14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
15 | 15 |
IUSE="debug nls ssl static-libs" |
16 | 16 | |
17 | 17 |
RDEPEND=" |
... | ... | |
29 | 29 | |
30 | 30 |
S="${WORKDIR}/RHash-${PV}" |
31 | 31 | |
32 |
PATCHES=( |
|
33 |
"${FILESDIR}"/${P}-prefix.patch |
|
34 |
) |
|
35 | ||
32 | 36 |
src_prepare() { |
33 | 37 |
default |
34 | 38 | |
... | ... | |
38 | 42 |
librhash/util.h || die |
39 | 43 |
fi |
40 | 44 | |
45 |
# upstream fix for BSD and others, but was only applied for BSD |
|
46 |
# we need support for Solaris, where we use a GNU toolchain, so use |
|
47 |
# the original hack, hopefully next release has this fixed |
|
48 |
# https://github.com/rhash/RHash/issues/238 |
|
49 |
if [[ ${CHOST} == *-solaris* ]] ; then |
|
50 |
sed -i -e 's/^elif linux; then/else/' configure || die |
|
51 |
fi |
|
52 | ||
41 | 53 |
multilib_copy_sources |
42 | 54 |
} |
43 | 55 |