Diff libscrypt-1.22 with a libscrypt-1.22-r1
/usr/portage/app-crypt/libscrypt/libscrypt-1.22-r1.ebuild 2023-10-09 14:52:28.236368318 +0300 | ||
---|---|---|
5 | 5 | |
6 | 6 |
inherit toolchain-funcs |
7 | 7 | |
8 |
DESCRIPTION="Shared library to impliment the scrypt algorithm" |
|
8 |
DESCRIPTION="Shared library to implement the scrypt algorithm" |
|
9 | 9 |
HOMEPAGE="https://github.com/technion/libscrypt" |
10 | 10 |
SRC_URI="https://github.com/technion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
11 | 11 | |
12 | 12 |
LICENSE="BSD-2" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86" |
|
15 |
IUSE="" |
|
14 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
16 | 15 | |
17 |
pkg_setup() { |
|
16 |
PATCHES=( |
|
17 |
"${FILESDIR}"/${PN}-1.22-no-clobber-fortify-source.patch |
|
18 |
) |
|
19 | ||
20 |
src_configure() { |
|
18 | 21 |
export LIBDIR=${PREFIX}/$(get_libdir) |
19 | 22 |
export CFLAGS_EXTRA="${CFLAGS}" |
20 | 23 |
export LDFLAGS_EXTRA="${LDFLAGS}" |
... | ... | |
24 | 27 |
} |
25 | 28 | |
26 | 29 |
src_compile() { |
27 |
emake \ |
|
28 |
CC="$(tc-getCC)" |
|
30 |
emake CC="$(tc-getCC)" |
|
29 | 31 |
} |