git: c1f091d3617c - main - devel/easyloggingpp: Update 9.97.0 → 9.97.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Jul 2023 06:38:50 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c1f091d3617c16888d8a056d82a5637851ac621d
commit c1f091d3617c16888d8a056d82a5637851ac621d
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-21 06:12:01 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-21 06:38:39 +0000
devel/easyloggingpp: Update 9.97.0 → 9.97.1
Reported by: portscout
---
devel/easyloggingpp/Makefile | 2 +-
devel/easyloggingpp/distinfo | 6 +++---
devel/easyloggingpp/files/patch-CMakeLists.txt | 12 ++++++------
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/devel/easyloggingpp/Makefile b/devel/easyloggingpp/Makefile
index d4f47b3eb6e8..1cad256824aa 100644
--- a/devel/easyloggingpp/Makefile
+++ b/devel/easyloggingpp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= easyloggingpp
DISTVERSIONPREFIX= v
-DISTVERSION= 9.97.0
+DISTVERSION= 9.97.1
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
diff --git a/devel/easyloggingpp/distinfo b/devel/easyloggingpp/distinfo
index 3b94fa9f030d..1456fa02b9c8 100644
--- a/devel/easyloggingpp/distinfo
+++ b/devel/easyloggingpp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1609052128
-SHA256 (amrayn-easyloggingpp-v9.97.0_GH0.tar.gz) = 9110638e21ef02428254af8688bf9e766483db8cc2624144aa3c59006907ce22
-SIZE (amrayn-easyloggingpp-v9.97.0_GH0.tar.gz) = 750851
+TIMESTAMP = 1689917247
+SHA256 (amrayn-easyloggingpp-v9.97.1_GH0.tar.gz) = ebe473e17b13f1d1f16d0009689576625796947a711e14aec29530f39560c7c2
+SIZE (amrayn-easyloggingpp-v9.97.1_GH0.tar.gz) = 771149
diff --git a/devel/easyloggingpp/files/patch-CMakeLists.txt b/devel/easyloggingpp/files/patch-CMakeLists.txt
index bdbacaacc699..fbc20a14441f 100644
--- a/devel/easyloggingpp/files/patch-CMakeLists.txt
+++ b/devel/easyloggingpp/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig 2020-12-25 09:02:08 UTC
+--- CMakeLists.txt.orig 2023-07-20 03:46:10 UTC
+++ CMakeLists.txt
-@@ -22,7 +22,7 @@ macro(require_cpp11)
+@@ -22,7 +22,7 @@ macro(require_cpp14)
endmacro()
option(test "Build all tests" OFF)
@@ -28,7 +28,7 @@
add_definitions(-DELPP_UTC_DATETIME)
endif()
- require_cpp11()
+ require_cpp14()
- add_library(easyloggingpp STATIC src/easylogging++.cc)
+ add_library(easyloggingpp SHARED src/easylogging++.cc)
set_property(TARGET easyloggingpp PROPERTY POSITION_INDEPENDENT_CODE ON)
@@ -40,14 +40,14 @@
endif()
export(PACKAGE ${PROJECT_NAME})
-@@ -98,7 +98,9 @@ if (test)
+@@ -97,7 +97,9 @@ if (test)
)
# Standard linking to gtest stuff.
-- target_link_libraries(easyloggingpp-unit-tests gtest gtest_main)
+- target_link_libraries(easyloggingpp-unit-tests ${GTEST_BOTH_LIBRARIES})
+ target_include_directories(easyloggingpp-unit-tests PRIVATE ${CMAKE_INSTALL_PREFIX}/include)
+ target_link_directories(easyloggingpp-unit-tests PRIVATE ${CMAKE_INSTALL_PREFIX}/lib)
-+ target_link_libraries(easyloggingpp-unit-tests gtest gtest_main execinfo)
++ target_link_libraries(easyloggingpp-unit-tests ${GTEST_BOTH_LIBRARIES} execinfo)
add_test(NAME easyloggingppUnitTests COMMAND easyloggingpp-unit-tests -v)
endif()