mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
@@ -1,25 +1,25 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/sahlberg/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
if [[ ${PV} == *_p* ]] ; then
|
||||
if [[ ${PV} == *_p* ]]; then
|
||||
# The S path is too long for the test suite otherwise.
|
||||
inherit vcs-snapshot
|
||||
|
||||
MY_COMMIT="22f7b26567760921fa1aad77cca642153123ea8c"
|
||||
MY_COMMIT=""
|
||||
SRC_URI="https://github.com/sahlberg/libiscsi/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
else
|
||||
SRC_URI="https://github.com/sahlberg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~ppc64 ~x86"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="iscsi client library and utilities"
|
||||
@@ -38,9 +38,7 @@ DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-util/cunit )
|
||||
"
|
||||
BDEPEND="
|
||||
test? ( >=sys-block/tgt-1.0.58 )
|
||||
"
|
||||
BDEPEND="test? ( >=sys-block/tgt-1.0.58 )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.19.0_p20230208-fix-rdma-automagic.patch
|
||||
@@ -56,11 +54,13 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-manpages \
|
||||
$(use_with rdma) \
|
||||
--disable-werror \
|
||||
local myeconfargs=(
|
||||
--enable-manpages
|
||||
--disable-werror
|
||||
$(use_with rdma)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
|
||||
Reference in New Issue
Block a user