forked from Lainports/freebsd-ports
textproc/cpp-peglib: Fix tests
This commit is contained in:
parent
55a8755e94
commit
f1ba99376b
1 changed files with 3 additions and 7 deletions
|
|
@ -9,19 +9,15 @@ COMMENT= C++ header-only PEG (Parsing Expression Grammars) library
|
|||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= cmake compiler:c++17-lang
|
||||
USES= cmake:testing compiler:c++17-lang
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= yhirose
|
||||
|
||||
CMAKE_TESTING_ON= FREEBSD_BUILD_TESTS
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PLIST_FILES= include/peglib.h
|
||||
|
||||
do-test: # testsuite segvs in the middle: https://github.com/yhirose/cpp-peglib/issues/189
|
||||
@cd ${BUILD_WRKSRC} && \
|
||||
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFREEBSD_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
|
||||
test/test-main
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue