Skip to content

Commit

Permalink
textproc/cpp-peglib: Update 1.5.0 -> 1.6.0
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Jul 12, 2022
1 parent d82e9b7 commit aa7a94e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 18 deletions.
5 changes: 3 additions & 2 deletions textproc/cpp-peglib/Makefile
@@ -1,6 +1,6 @@
PORTNAME= cpp-peglib
DISTVERSIONPREFIX= v
DISTVERSION= 1.5.0
DISTVERSION= 1.6.0
CATEGORIES= textproc devel

MAINTAINER= yuri@FreeBSD.org
Expand All @@ -14,7 +14,8 @@ USES= cmake:testing compiler:c++17-lang
USE_GITHUB= yes
GH_ACCOUNT= yhirose

CMAKE_TESTING_ON= FREEBSD_BUILD_TESTS
CMAKE_OFF= PEGLIB_BUILD_TESTS
CMAKE_TESTING_ON= PEGLIB_BUILD_TESTS

NO_ARCH= yes

Expand Down
6 changes: 3 additions & 3 deletions textproc/cpp-peglib/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1655480833
SHA256 (yhirose-cpp-peglib-v1.5.0_GH0.tar.gz) = 45a02b749556af6ab0abf78c4c1d1afe02f17705b1c51f5820e957616f453b33
SIZE (yhirose-cpp-peglib-v1.5.0_GH0.tar.gz) = 206343
TIMESTAMP = 1657599663
SHA256 (yhirose-cpp-peglib-v1.6.0_GH0.tar.gz) = 2b09d711fd02bad24089bc5a6f51ef4c307d86e0adb6f9938e0549a12c102ac4
SIZE (yhirose-cpp-peglib-v1.6.0_GH0.tar.gz) = 214273
19 changes: 6 additions & 13 deletions textproc/cpp-peglib/files/patch-CMakeLists.txt
@@ -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
@@ -17,10 +17,16 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(add_link_deps Threads::Threads)
endif()
@@ -21,7 +21,9 @@ endif()

+if (FREEBSD_BUILD_EXAMPLES)
add_subdirectory(example)
+endif()
+if (FREEBSD_BUILD_LINT)
add_subdirectory(lint)
+endif()
+if (FREEBSD_BUILD_TESTS)
add_subdirectory(test)

enable_testing()
+if (FREEBSD_BUILD_EXAMPLES)
add_subdirectory(example)
+endif()
# add_subdirectory(cymbol)

install(FILES peglib.h DESTINATION include)
if (${PEGLIB_BUILD_TESTS})

0 comments on commit aa7a94e

Please sign in to comment.