pkgsrc/textproc/fmtlib/Makefile
adam f584ea22bc fmtlib: updated to 8.0.1
8.0.1:
Fixed the version number in the inline namespace
Added a missing presentation type check for std::string
Fixed a linkage error when mixing code built with clang and gcc
Fixed documentation issues
Removed dead code in FP formatter
Fixed various warnings and compilation issues

8.0.0:
Enabled compile-time format string check by default.
Added compile-time formatting
Optimized handling of format specifiers during format string compilation. For example, hexadecimal formatting ("{:x}") is now 3-7x faster than before when using format_to with format string compilation and a stack-allocated buffer
Added the _cf user-defined literal to represent a compiled format string. It can be used instead of the FMT_COMPILE macro
Format string compilation now requires format functions of formatter specializations for user-defined types to be const
Added UDL-based named argument support to format string compilation
Added format string compilation support to fmt::print
Added initial support for compiling {fmt} as a C++20 module
Made symbols private by default reducing shared library size. For example there was a ~15% reported reduction on one platform
Optimized includes making the result of preprocessing fmt/format.h ~20% smaller with libstdc++/C++20 and slightly improving build times
Added support of ranges with non-const begin / end
Added support of std::byte and other formattable types to fmt::join
Implemented the default format for std::chrono::system_clock
Made more chrono specifiers locale independent by default. Use the 'L' specifier to get localized formatting.
Improved locale handling in chrono formatting
2021-07-14 07:31:10 +00:00

22 lines
516 B
Makefile

# $NetBSD: Makefile,v 1.10 2021/07/14 07:31:10 adam Exp $
DISTNAME= fmt-8.0.1
PKGNAME= ${DISTNAME:S/fmt/fmtlib/}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=fmtlib/}
GITHUB_PROJECT= fmt
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://fmt.dev/
COMMENT= Formatting library
LICENSE= mit
USE_CMAKE= yes
USE_LANGUAGES= c c++11
PKGCONFIG_OVERRIDE= support/cmake/fmt.pc.in
TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}
TEST_TARGET= test
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
.include "../../mk/bsd.pkg.mk"