2013-05-15 20:27:09 +02:00
|
|
|
# Created by: roam@FreeBSD.org
|
2003-09-10 11:59:25 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-07-14 09:00:44 +02:00
|
|
|
PORTNAME= c-ares
|
2016-10-19 16:43:09 +02:00
|
|
|
PORTVERSION= 1.12.0
|
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 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, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
2017-09-10 22:55:38 +02:00
|
|
|
PORTREVISION= 2
|
2003-09-10 11:59:25 +02:00
|
|
|
CATEGORIES= dns
|
2012-02-25 15:59:11 +01:00
|
|
|
MASTER_SITES= http://c-ares.haxx.se/download/ \
|
2012-04-29 23:54:21 +02:00
|
|
|
http://obsd.isc.org/pub/OpenBSD/distfiles/ \
|
2017-08-01 19:07:58 +02:00
|
|
|
ZI
|
2003-09-10 11:59:25 +02:00
|
|
|
|
2012-02-25 15:01:08 +01:00
|
|
|
MAINTAINER= zi@FreeBSD.org
|
2014-06-10 09:39:01 +02:00
|
|
|
COMMENT= Asynchronous DNS resolver library
|
2003-09-10 11:59:25 +02:00
|
|
|
|
2010-06-11 13:24:38 +02:00
|
|
|
LICENSE= MIT
|
2017-07-31 11:01:10 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
2010-06-11 13:24:38 +02:00
|
|
|
|
2014-08-28 12:21:31 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-werror
|
|
|
|
INSTALL_TARGET= install-strip
|
2013-09-20 14:54:54 +02:00
|
|
|
SSP_UNSAFE= Refuses -l in LDFLAGS
|
2016-04-30 02:23:41 +02:00
|
|
|
USES= libtool pathfix compiler:c++11-lang
|
2014-08-28 12:21:31 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
PROGRAMS= acountry adig ahost
|
2013-09-20 14:54:54 +02:00
|
|
|
|
2012-06-10 20:36:32 +02:00
|
|
|
OPTIONS_DEFINE= CONFIG_INFO DEBUG HIDE_SYMBOLS OPTIMIZED_CFLAGS
|
|
|
|
OPTIONS_DEFAULT= CONFIG_INFO HIDE_SYMBOLS
|
2006-12-06 10:58:55 +01:00
|
|
|
|
2012-06-10 20:36:32 +02:00
|
|
|
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.*
|
2006-07-14 09:41:48 +02:00
|
|
|
|
2009-06-23 15:27:53 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2015-12-21 19:35:08 +01:00
|
|
|
CONFIG_INFO_EXTRA_PATCHES= ${FILESDIR}/ares-config-info.patch
|
|
|
|
DEBUG_CONFIGURE_ENABLE= debug
|
|
|
|
HIDE_SYMBOLS_CONFIGURE_ENABLE= symbol-hiding
|
|
|
|
OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimize
|
2006-12-06 10:58:55 +01:00
|
|
|
|
2010-03-22 11:56:04 +01:00
|
|
|
post-install:
|
2014-02-08 17:36:27 +01:00
|
|
|
${INSTALL_PROGRAM} ${PROGRAMS:S@^@${WRKSRC}/.libs/@} ${STAGEDIR}${PREFIX}/bin/
|
2010-03-22 11:56:04 +01:00
|
|
|
|
2014-08-28 12:21:31 +02:00
|
|
|
.include <bsd.port.mk>
|