mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
3e7e465ce1
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.
28 lines
497 B
Makefile
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>
|