mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-libs/libvncserver: build tests conditionally
Ported from 0.9.14-r2 Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Closes: https://github.com/gentoo/gentoo/pull/40829 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
d0d08b8ad9
commit
a8e7c262bf
@@ -17,7 +17,8 @@ LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
|
||||
# no sub slot wanted (yet), see #578958
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+24bpp +filetransfer gnutls ipv6 +jpeg lzo +png sasl ssl systemd +threads +zlib"
|
||||
IUSE="+24bpp +filetransfer gnutls ipv6 +jpeg lzo +png sasl ssl systemd test +threads +zlib"
|
||||
RESTRICT="!test? ( test )"
|
||||
# https://bugs.gentoo.org/690202
|
||||
# https://bugs.gentoo.org/435326
|
||||
# https://bugs.gentoo.org/550916
|
||||
@@ -64,6 +65,7 @@ src_configure() {
|
||||
-DWITH_PNG=$(usex png ON OFF)
|
||||
-DWITH_SASL=$(usex sasl ON OFF)
|
||||
-DWITH_SYSTEMD=$(usex systemd ON OFF)
|
||||
-DWITH_TESTS=$(usex test ON OFF)
|
||||
-DWITH_THREADS=$(usex threads ON OFF)
|
||||
-DWITH_ZLIB=$(usex zlib ON OFF)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user