openbsd-ports/devel/fmt/Makefile
sthen ddf056b8f1 upadte to fmt-8.1.1, from Brad, fine with Ashton Fagg (currently listed
as maintainer though asked to be dropped earlier, so I have merged that in
too)
2022-06-07 11:40:17 +00:00

30 lines
560 B
Makefile

COMMENT= alternative formatting library for C and C++
GH_ACCOUNT= fmtlib
GH_PROJECT= fmt
GH_TAGNAME= 8.1.1
SHARED_LIBS= fmt 1.1
CATEGORIES= devel
# MIT
PERMIT_PACKAGE= Yes
# C++11
COMPILER= base-clang ports-gcc
MODULES= devel/cmake
WANTLIB+= ${COMPILER_LIBCXX}
CONFIGURE_ARGS+= -DBUILD_SHARED_LIBS=on
# Fix undefined references to pthread_* symbols on clang+ld.bfd archs by
# disabling -Wl,--as-needed.
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mlld} && ${PROPERTIES:Mclang}
CONFIGURE_ARGS+= -DAS_NEEDED=off
.endif
.include <bsd.port.mk>