Index: head/devel/easyloggingpp/Makefile =================================================================== --- head/devel/easyloggingpp/Makefile (revision 461819) +++ head/devel/easyloggingpp/Makefile (revision 461820) @@ -1,24 +1,25 @@ # $FreeBSD$ PORTNAME= easyloggingpp DISTVERSIONPREFIX= v -DISTVERSION= 9.95.4 +DISTVERSION= 9.96.0 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= C++ logging library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:outsource USE_GITHUB= yes GH_ACCOUNT= muflihun USE_LDCONFIG= yes CMAKE_ON= build_shared_lib # patched in, requested such option in https://github.com/muflihun/easyloggingpp/issues/603 PLIST_FILES= include/easylogging++.h \ include/easylogging++.cc \ - lib/libeasyloggingpp.so + lib/libeasyloggingpp.so \ + libdata/pkgconfig/easyloggingpp.pc .include Index: head/devel/easyloggingpp/distinfo =================================================================== --- head/devel/easyloggingpp/distinfo (revision 461819) +++ head/devel/easyloggingpp/distinfo (revision 461820) @@ -1,3 +1,3 @@ -TIMESTAMP = 1518262857 -SHA256 (muflihun-easyloggingpp-v9.95.4_GH0.tar.gz) = 1d1814db8f95f40b37e92b4c18c1630766c285012f6716cb08e29116fd526059 -SIZE (muflihun-easyloggingpp-v9.95.4_GH0.tar.gz) = 747571 +TIMESTAMP = 1518627108 +SHA256 (muflihun-easyloggingpp-v9.96.0_GH0.tar.gz) = be81a58d9a75986ea06432e0ee9859dd67fb0d8976265fc69a2f6299498fa6f9 +SIZE (muflihun-easyloggingpp-v9.96.0_GH0.tar.gz) = 748440 Index: head/devel/easyloggingpp/files/patch-CMakeLists.txt =================================================================== --- head/devel/easyloggingpp/files/patch-CMakeLists.txt (revision 461819) +++ head/devel/easyloggingpp/files/patch-CMakeLists.txt (revision 461820) @@ -1,34 +1,43 @@ Suggested the same to the upstream: https://github.com/muflihun/easyloggingpp/issues/603 ---- CMakeLists.txt.orig 2017-10-13 00:35:14 UTC +--- CMakeLists.txt.orig 2018-02-14 05:35:11 UTC +++ CMakeLists.txt @@ -22,7 +22,7 @@ macro(require_cpp11) endmacro() option(test "Build all tests" OFF) -option(build_static_lib "Build easyloggingpp as a static library" OFF) +option(build_shared_lib "Build easyloggingpp as a shared library" OFF) option(lib_utc_datetime "Build library with UTC date/time logging" OFF) set(ELPP_MAJOR_VERSION "9") -@@ -40,17 +40,17 @@ install(FILES - DESTINATION "${ELPP_INCLUDE_INSTALL_DIR}" - COMPONENT dev) +@@ -31,7 +31,7 @@ set(ELPP_PATCH_VERSION "0") + set(ELPP_VERSION_STRING "${ELPP_MAJOR_VERSION}.${ELPP_MINOR_VERSION}.${ELPP_PATCH_VERSION}") + + set(ELPP_INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "The directory the headers are installed in") +-set(ELPP_PKGCONFIG_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files") ++set(ELPP_PKGCONFIG_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files") + + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) + +@@ -46,17 +46,17 @@ configure_file( ${CMAKE_CURRENT_SOURCE_D + + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/easyloggingpp.pc DESTINATION "${ELPP_PKGCONFIG_INSTALL_DIR}") -if (build_static_lib) +if (build_shared_lib) if (lib_utc_datetime) add_definitions(-DELPP_UTC_DATETIME) endif() require_cpp11() - add_library(easyloggingpp STATIC src/easylogging++.cc) + add_library(easyloggingpp SHARED src/easylogging++.cc) install(TARGETS easyloggingpp - ARCHIVE DESTINATION lib) + DESTINATION lib) endif() export(PACKAGE ${PROJECT_NAME})