diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-11-02 18:19:08 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-11-02 18:19:08 +0900 |
commit | 6188c37bf1ac4e086bdda4e5fbbe7c891788d331 (patch) | |
tree | 0da1ac11ce5c4c6cae267ce45fdfd62151944043 /sys-libs | |
parent | net-im/abaddon: drop 0.1.12-r1, 0.1.13 (diff) | |
download | guru-6188c37bf1ac4e086bdda4e5fbbe7c891788d331.tar.gz guru-6188c37bf1ac4e086bdda4e5fbbe7c891788d331.tar.bz2 guru-6188c37bf1ac4e086bdda4e5fbbe7c891788d331.zip |
sys-libs/cyclonedds: fix tests and RDEPEND
Closes: https://bugs.gentoo.org/921847
Closes: https://bugs.gentoo.org/933210
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/cyclonedds/cyclonedds-0.10.3-r1.ebuild (renamed from sys-libs/cyclonedds/cyclonedds-0.10.3.ebuild) | 19 | ||||
-rw-r--r-- | sys-libs/cyclonedds/cyclonedds-9999.ebuild | 19 |
2 files changed, 24 insertions, 14 deletions
diff --git a/sys-libs/cyclonedds/cyclonedds-0.10.3.ebuild b/sys-libs/cyclonedds/cyclonedds-0.10.3-r1.ebuild index b1e0bed51..4e05f3e6f 100644 --- a/sys-libs/cyclonedds/cyclonedds-0.10.3.ebuild +++ b/sys-libs/cyclonedds/cyclonedds-0.10.3-r1.ebuild @@ -21,18 +21,23 @@ SLOT="0/$(ver_cut 1-2)" IUSE="test ssl shm parser doc examples ipv6 idlc get-kind" RESTRICT="!test? ( test )" -RDEPEND=( - "doc? ( app-text/doxygen )" - "ssl? ( dev-libs/openssl )" - "shm? ( sys-libs/iceoryx )" - "parser? ( sys-devel/bison )" -) -DEPEND="${RDEPEND[@]}" +RDEPEND=" + doc? ( app-text/doxygen ) + ssl? ( dev-libs/openssl:= ) + shm? ( sys-libs/iceoryx:= ) + parser? ( sys-devel/bison ) +" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-util/cunit )" CMAKE_BUILD_TYPE=Release src_prepare() { use get-kind && eapply "${FILESDIR}/${PN}-0.10.3-get_kind.patch" + + # disable tests that requires FEATURES=-network-sandbox + sed -i '/ifaddrs.c$/d' src/ddsrt/tests/CMakeLists.txt || die + cmake_src_prepare } diff --git a/sys-libs/cyclonedds/cyclonedds-9999.ebuild b/sys-libs/cyclonedds/cyclonedds-9999.ebuild index b1e0bed51..4e05f3e6f 100644 --- a/sys-libs/cyclonedds/cyclonedds-9999.ebuild +++ b/sys-libs/cyclonedds/cyclonedds-9999.ebuild @@ -21,18 +21,23 @@ SLOT="0/$(ver_cut 1-2)" IUSE="test ssl shm parser doc examples ipv6 idlc get-kind" RESTRICT="!test? ( test )" -RDEPEND=( - "doc? ( app-text/doxygen )" - "ssl? ( dev-libs/openssl )" - "shm? ( sys-libs/iceoryx )" - "parser? ( sys-devel/bison )" -) -DEPEND="${RDEPEND[@]}" +RDEPEND=" + doc? ( app-text/doxygen ) + ssl? ( dev-libs/openssl:= ) + shm? ( sys-libs/iceoryx:= ) + parser? ( sys-devel/bison ) +" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-util/cunit )" CMAKE_BUILD_TYPE=Release src_prepare() { use get-kind && eapply "${FILESDIR}/${PN}-0.10.3-get_kind.patch" + + # disable tests that requires FEATURES=-network-sandbox + sed -i '/ifaddrs.c$/d' src/ddsrt/tests/CMakeLists.txt || die + cmake_src_prepare } |