textproc/cpp-peglib: Update 1.5.0 -> 1.6.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2022-07-11 21:42:43 -07:00
parent d82e9b7e7b
commit aa7a94ee92
3 changed files with 12 additions and 18 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= cpp-peglib PORTNAME= cpp-peglib
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 1.5.0 DISTVERSION= 1.6.0
CATEGORIES= textproc devel CATEGORIES= textproc devel
MAINTAINER= yuri@FreeBSD.org MAINTAINER= yuri@FreeBSD.org
@ -14,7 +14,8 @@ USES= cmake:testing compiler:c++17-lang
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= yhirose GH_ACCOUNT= yhirose
CMAKE_TESTING_ON= FREEBSD_BUILD_TESTS CMAKE_OFF= PEGLIB_BUILD_TESTS
CMAKE_TESTING_ON= PEGLIB_BUILD_TESTS
NO_ARCH= yes NO_ARCH= yes

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1655480833 TIMESTAMP = 1657599663
SHA256 (yhirose-cpp-peglib-v1.5.0_GH0.tar.gz) = 45a02b749556af6ab0abf78c4c1d1afe02f17705b1c51f5820e957616f453b33 SHA256 (yhirose-cpp-peglib-v1.6.0_GH0.tar.gz) = 2b09d711fd02bad24089bc5a6f51ef4c307d86e0adb6f9938e0549a12c102ac4
SIZE (yhirose-cpp-peglib-v1.5.0_GH0.tar.gz) = 206343 SIZE (yhirose-cpp-peglib-v1.6.0_GH0.tar.gz) = 214273

View file

@ -1,19 +1,12 @@
--- CMakeLists.txt.orig 2022-01-03 16:23:41 UTC --- CMakeLists.txt.orig 2022-07-09 00:35:05 UTC
+++ CMakeLists.txt +++ CMakeLists.txt
@@ -17,10 +17,16 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux") @@ -21,7 +21,9 @@ endif()
set(add_link_deps Threads::Threads)
endif() add_subdirectory(lint)
+if (FREEBSD_BUILD_EXAMPLES) +if (FREEBSD_BUILD_EXAMPLES)
add_subdirectory(example) add_subdirectory(example)
+endif() +endif()
+if (FREEBSD_BUILD_LINT) # add_subdirectory(cymbol)
add_subdirectory(lint)
+endif()
+if (FREEBSD_BUILD_TESTS)
add_subdirectory(test)
enable_testing() if (${PEGLIB_BUILD_TESTS})
+endif()
install(FILES peglib.h DESTINATION include)