diff options
Diffstat (limited to 'dev-libs/libdispatch/libdispatch-5.7.1.ebuild')
-rw-r--r-- | dev-libs/libdispatch/libdispatch-5.7.1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-libs/libdispatch/libdispatch-5.7.1.ebuild b/dev-libs/libdispatch/libdispatch-5.7.1.ebuild index c0c209226f47..da9e6411f534 100644 --- a/dev-libs/libdispatch/libdispatch-5.7.1.ebuild +++ b/dev-libs/libdispatch/libdispatch-5.7.1.ebuild @@ -15,6 +15,9 @@ SRC_URI="https://github.com/apple/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.g LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm64 ppc64 ~riscv x86" +IUSE="test" + +RESTRICT="!test? ( test )" DEPEND=" !gnustep-base/libobjc2 @@ -49,5 +52,6 @@ src_configure () { export HOST_CXX="$(tc-getBUILD_CXX)" tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG + local mycmakeargs=( -DBUILD_TESTING=$(usex test) ) cmake_src_configure } |