Files
ports/net/libcares/Makefile
T
sthen 223dd2dcf0 set COMPILER_LANGS=c for various C-only ports
add annotations near COMPILER for some other ports that don't have
COMPILER_LIBCXX in WANTLIB

not changing the actual compiler version of anything here (some could
possibly remove the COMPILER line completely where they only used
COMPILER due to an old WANTLIB entry which has since stopped using
C++, but changing that is too likely to break things)
2025-01-28 11:22:02 +00:00

33 lines
602 B
Makefile

COMMENT= asynchronous resolver library
V= 1.34.3
DISTNAME= c-ares-${V}
PKGNAME= libcares-${V}
CATEGORIES= net devel
SITES= https://github.com/c-ares/c-ares/releases/download/v${V}/
SHARED_LIBS += cares 4.3 # 2.19.0
HOMEPAGE= https://c-ares.org/
MAINTAINER= Brad Smith <brad@comstyle.com>
# MIT
PERMIT_PACKAGE= Yes
WANTLIB+= pthread
MODULES= devel/cmake
# C++ in tests
COMPILER= base-clang ports-gcc
BUILD_DEPENDS+= devel/gtest
CONFIGURE_ARGS+=-DCARES_BUILD_TESTS=ON \
-DCARES_BUILD_TOOLS=OFF \
-DCARES_STATIC=ON \
-DCARES_SYMBOL_HIDING=ON
.include <bsd.port.mk>