Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140149140
D13912.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D13912.diff
View Options
Index: head/devel/Makefile
===================================================================
--- head/devel/Makefile
+++ head/devel/Makefile
@@ -477,6 +477,7 @@
SUBDIR += e00compr
SUBDIR += e2fsprogs-libss
SUBDIR += easygit
+ SUBDIR += easyloggingpp
SUBDIR += eblob
SUBDIR += ebnf2yacc
SUBDIR += ecgi
Index: head/devel/easyloggingpp/Makefile
===================================================================
--- head/devel/easyloggingpp/Makefile
+++ head/devel/easyloggingpp/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= easyloggingpp
+DISTVERSIONPREFIX= v
+DISTVERSION= 9.95.3
+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
+
+.include <bsd.port.mk>
Index: head/devel/easyloggingpp/distinfo
===================================================================
--- head/devel/easyloggingpp/distinfo
+++ head/devel/easyloggingpp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1516061458
+SHA256 (muflihun-easyloggingpp-v9.95.3_GH0.tar.gz) = daa1d6f09b15482d418d3698741d2330195bf0e97370bc27d02bb6cc18debfb8
+SIZE (muflihun-easyloggingpp-v9.95.3_GH0.tar.gz) = 747358
Index: head/devel/easyloggingpp/files/patch-CMakeLists.txt
===================================================================
--- head/devel/easyloggingpp/files/patch-CMakeLists.txt
+++ head/devel/easyloggingpp/files/patch-CMakeLists.txt
@@ -0,0 +1,34 @@
+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
+@@ -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)
+
+-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})
Index: head/devel/easyloggingpp/pkg-descr
===================================================================
--- head/devel/easyloggingpp/pkg-descr
+++ head/devel/easyloggingpp/pkg-descr
@@ -0,0 +1,7 @@
+Single header C++ logging library. It is extremely powerful, extendable,
+light-weight, fast performing, thread and type safe and consists of many
+built-in features. It provides ability to write logs in your own customized
+format. It also provide support for logging your classes, third-party
+libraries, STL and third-party containers etc.
+
+WWW: https://muflihun.github.io/easyloggingpp/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 21, 9:09 PM (6 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27121831
Default Alt Text
D13912.diff (3 KB)
Attached To
Mode
D13912: New port: devel/easyloggingpp: C++ logging library
Attached
Detach File
Event Timeline
Log In to Comment