diff options
Diffstat (limited to 'dev-libs/libconfig/libconfig-1.7.3.ebuild')
-rw-r--r-- | dev-libs/libconfig/libconfig-1.7.3.ebuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/dev-libs/libconfig/libconfig-1.7.3.ebuild b/dev-libs/libconfig/libconfig-1.7.3.ebuild index 8efd8925734c..12eef715344b 100644 --- a/dev-libs/libconfig/libconfig-1.7.3.ebuild +++ b/dev-libs/libconfig/libconfig-1.7.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,8 @@ SRC_URI="https://github.com/hyperrealm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="LGPL-2.1" SLOT="0/11" KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86 ~x86-linux" -IUSE="+cxx static-libs" +IUSE="+cxx static-libs test" +RESTRICT="!test? ( test )" DEPEND=" sys-apps/texinfo @@ -33,10 +34,14 @@ src_prepare() { } multilib_src_configure() { - econf \ - $(use_enable cxx) \ - $(use_enable static-libs static) \ + local myeconfargs=( + $(use_enable cxx) + $(use_enable static-libs static) + $(use_enable test tests) --disable-examples + ) + + econf "${myeconfargs[@]}" } multilib_src_test() { |