Files
jca 3e7e465ce1 Update to log4cpp-1.1.4 to unbreak build with llvm-16
llvm-16 removed support for std::auto_ptr (is was previously
deprecated).  This updated version of log4cpp now detects whether
std::unique_ptr is usable and falls back to std::auto_ptr if it isn't.
Since this changes the names of a bunch of mangled C++ symbols, bump the
shared lib version.

log4cpp build-tested on sparc64, log4cpp and consumers build-tested on
amd64.
2023-11-09 16:22:51 +00:00

28 lines
497 B
Makefile

COMMENT= library of C++ classes for flexible logging
DISTNAME= log4cpp-1.1.4
WRKDIST= ${WRKDIR}/log4cpp
SHARED_LIBS += log4cpp 1.0 # 5.6
CATEGORIES= devel
HOMEPAGE= https://log4cpp.sourceforge.net/
# LGPLv2.1
PERMIT_PACKAGE= Yes
WANTLIB += m pthread ${COMPILER_LIBCXX}
COMPILER = base-clang ports-gcc base-gcc
SITES= ${SITE_SOURCEFORGE:=log4cpp/}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-pthreads \
--disable-doxygen
SEPARATE_BUILD= Yes
.include <bsd.port.mk>