Diff nvme-cli-2.2.1 with a nvme-cli-2.3
/usr/portage/sys-apps/nvme-cli/nvme-cli-2.3.ebuild 2023-10-09 14:52:35.392368499 +0300 | ||
---|---|---|
11 | 11 | |
12 | 12 |
LICENSE="GPL-2 GPL-2+" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86" |
|
15 |
IUSE="hugepages +json" |
|
14 |
KEYWORDS="amd64 ~arm64 ~loong ppc64 ~riscv ~x86" |
|
15 |
IUSE="hugepages" |
|
16 | 16 | |
17 | 17 |
RDEPEND=" |
18 |
>=sys-libs/libnvme-1.2:=[json(+)=] |
|
18 |
>=sys-libs/libnvme-1.3:= |
|
19 | 19 |
hugepages? ( sys-libs/libhugetlbfs:= ) |
20 |
json? ( dev-libs/json-c:= ) |
|
20 |
dev-libs/json-c:= |
|
21 | 21 |
sys-libs/zlib:= |
22 | 22 |
" |
23 | 23 | |
... | ... | |
30 | 30 | |
31 | 31 |
PATCHES=( |
32 | 32 |
"${FILESDIR}/nvme-cli-2.2-docdir.patch" |
33 |
"${FILESDIR}/nvme-cli-2.3-no-hugetlbfs-automatic-dep.patch" |
|
33 | 34 |
) |
34 | 35 | |
35 | 36 |
src_configure() { |
... | ... | |
39 | 40 |
-Dhtmldir="${EPREFIX}/usr/share/doc/${P}/html" |
40 | 41 |
-Dsystemddir="${unitdir%/system}" |
41 | 42 |
-Dudevrulesdir="${EPREFIX}$(get_udevdir)" |
43 |
$(meson_use hugepages) |
|
42 | 44 |
) |
43 | 45 |
meson_src_configure |
44 | 46 |
} |