freebsd-ports/dns/c-ares/Makefile
Bradley T. Hughes b318230f7f MFH: r563965
dns/c-ares: Update 1.16.1 -> 1.17.1

Bump to the latest release. Upstream has reorganized the source in this
release, and the port has been adapted to path changes where necessary.

Approved by:	zi (maintainer)
Sponsored by:	Miles AS
2021-03-10 20:14:28 +00:00

45 lines
1.1 KiB
Makefile

# Created by: roam@FreeBSD.org
# $FreeBSD$
PORTNAME= c-ares
PORTVERSION= 1.17.1
CATEGORIES= dns
MASTER_SITES= https://c-ares.haxx.se/download/ \
ZI
MAINTAINER= zi@FreeBSD.org
COMMENT= Asynchronous DNS resolver library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-werror
INSTALL_TARGET= install-strip
SSP_UNSAFE= Refuses -l in LDFLAGS
USES= libtool pathfix compiler:c++11-lang gmake
USE_LDCONFIG= yes
PROGRAMS= acountry adig ahost
OPTIONS_DEFINE= CONFIG_INFO DEBUG HIDE_SYMBOLS OPTIMIZED_CFLAGS
OPTIONS_DEFAULT= CONFIG_INFO HIDE_SYMBOLS
CONFIG_INFO_DESC= Add the ares_config_info patch
HIDE_SYMBOLS_DESC= Hide internal library symbols
OPTIMIZED_CFLAGS_DESC= Build with compiler optimizations
CONFLICTS= ares-1.*
MAKE_JOBS_UNSAFE= yes
CONFIG_INFO_EXTRA_PATCHES= ${FILESDIR}/ares-config-info.patch
DEBUG_CONFIGURE_ENABLE= debug
HIDE_SYMBOLS_CONFIGURE_ENABLE= symbol-hiding
OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimize
post-install:
${INSTALL_PROGRAM} ${PROGRAMS:S@^@${WRKSRC}/src/tools/.libs/@} ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>