1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/dns/c-ares/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

47 lines
1.1 KiB
Makefile

# Created by: roam@FreeBSD.org
# $FreeBSD$
PORTNAME= c-ares
PORTVERSION= 1.14.0
PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= http://c-ares.haxx.se/download/ \
http://obsd.isc.org/pub/OpenBSD/distfiles/ \
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
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}/.libs/@} ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>