diff options
author | Dennis Lamm <expeditioneer@gentoo.org> | 2022-10-15 16:40:40 +0200 |
---|---|---|
committer | Dennis Lamm <expeditioneer@gentoo.org> | 2022-10-19 06:48:19 +0200 |
commit | 689d277d2f090e9e49e611cb13290404dd265b28 (patch) | |
tree | 0644fbebc56ea780497254f5cf154a8cbb8038ee /net-misc/kea/kea-2.2.0.ebuild | |
parent | net-misc/kea: drop old (diff) | |
download | gentoo-689d277d2f090e9e49e611cb13290404dd265b28.tar.gz gentoo-689d277d2f090e9e49e611cb13290404dd265b28.tar.bz2 gentoo-689d277d2f090e9e49e611cb13290404dd265b28.zip |
net-misc/kea: ebuild improvements
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/27783
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'net-misc/kea/kea-2.2.0.ebuild')
-rw-r--r-- | net-misc/kea/kea-2.2.0.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/net-misc/kea/kea-2.2.0.ebuild b/net-misc/kea/kea-2.2.0.ebuild index c7127f76da89..56fe907cd840 100644 --- a/net-misc/kea/kea-2.2.0.ebuild +++ b/net-misc/kea/kea-2.2.0.ebuild @@ -22,7 +22,9 @@ else ftp://ftp.isc.org/isc/kea/${MY_PV}/${MY_P}.tar.gz" # odd minor version = development release if [[ $(( $(ver_cut 2) % 2 )) -ne 1 ]] ; then - [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || KEYWORDS="~amd64 ~arm64 ~x86" + if ! [[ "${PV}" == *_beta* || "${PV}" == *_rc* ]] ; then + KEYWORDS="~amd64 ~arm64 ~x86" + fi fi fi @@ -36,8 +38,9 @@ COMMON_DEPEND=" dev-libs/log4cplus doc? ( $(python_gen_cond_dep ' - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]') + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ') ) mysql? ( dev-db/mysql-connector-c ) !openssl? ( dev-libs/botan:2= ) @@ -68,7 +71,7 @@ pkg_setup() { src_prepare() { default - cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4 + cp "${FILESDIR}"/ax_gtest.m4 "${S}"/m4macros/ax_gtest.m4 || die 'Replace gtest m4 macro failed' # brand the version with Gentoo sed -i \ |