mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-chemistry/dssp: conditionally build tests
9->6 targets when tests are disabled Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -13,7 +13,8 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
# doc disabled as it only generates a PDF from the manpage for now
|
||||
# https://github.com/PDB-REDO/dssp/issues/64
|
||||
#IUSE="doc"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/boost:=[zlib]
|
||||
@@ -42,6 +43,7 @@ src_configure() {
|
||||
-DINSTALL_LIBRARY=YES
|
||||
#-DBUILD_DOCUMENTATION=$(usex doc)
|
||||
-DBUILD_DOCUMENTATION=NO
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user