archivers/zlib-ng: fix build with TEST option

PR:		277098
Approved by:	maintainer
2024Q2
Max Brazhnikov 2024-02-22 20:21:37 +03:00
parent a458ab9ef0
commit e86f4ac964
1 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,7 @@ WWW= https://github.com/zlib-ng/zlib-ng
LICENSE= ZLIB
USES= cmake compiler:c11
USES= cmake:${TESTING} compiler:c11
USE_LDCONFIG= yes
USE_GITHUB= yes
@ -16,8 +16,10 @@ OPTIONS_DEFINE= SIMD TEST
SIMD_CMAKE_BOOL= WITH_OPTIM
TEST_BUILD_DEPENDS= googletest>=0:devel/googletest
TEST_VARS= TESTING=testing
TEST_CMAKE_BOOL= ZLIB_ENABLE_TESTS ZLIBNG_ENABLE_TESTS
TEST_BROKEN= error: use of undeclared identifier 'isascii'
# error: use of undeclared identifier 'isascii'
TEST_CFLAGS= -D__XSI_VISIBLE
PLIST_SUB= SHLIB_VER=${DISTVERSION}