Сравнение lrslib-071b с lrslib-071b-r1
/usr/portage/sci-libs/lrslib/lrslib-071b-r1.ebuild 2023-10-09 14:52:35.084368491 +0300 | ||
---|---|---|
12 | 12 |
# COPYING is GPL-2, but e.g. lrslib.h says "or ... any later version." |
13 | 13 |
LICENSE="GPL-2+" |
14 | 14 |
SLOT="0" |
15 |
KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
|
15 |
KEYWORDS="amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux" |
|
16 | 16 |
IUSE="gmp mpi" |
17 | 17 | |
18 | 18 |
BDEPEND="" |
... | ... | |
23 | 23 |
)" |
24 | 24 |
DEPEND="${RDEPEND}" |
25 | 25 | |
26 |
PATCHES=( |
|
27 |
"${FILESDIR}/${P}-makefile-ldflags.patch" |
|
28 |
"${FILESDIR}/${P}-makefile-cflags.patch" |
|
29 |
) |
|
30 | ||
26 | 31 |
src_prepare() { |
27 | 32 |
default |
28 | 33 |
tc-export CC |
... | ... | |
31 | 36 |
# "-O3" is still included verbatim in many targets. Likewise, a |
32 | 37 |
# LIBDIR variable exists but "lib" remains hard-coded in the install |
33 | 38 |
# targets. |
34 |
sed -e "s/-O3/${CFLAGS}/g" \ |
|
35 |
-e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \ |
|
36 |
-e "s,/usr/local,${EPREFIX}/usr,g" \ |
|
39 |
sed -e "s,/usr/local,${EPREFIX}/usr,g" \ |
|
37 | 40 |
-e "s,/lib,/$(get_libdir),g" \ |
38 | 41 |
-i makefile || die |
39 | 42 |
} |