diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-12-21 18:35:08 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-12-21 18:35:08 +0000 |
commit | 5c97f72f63fd37fb6204a3edea0b3fad9fa59887 (patch) | |
tree | a6eb634ef62596738ccfe993de4bd839991fae3e /dns/c-ares | |
parent | 751ce315c60956823b252e6654f23cb08822b38a (diff) | |
download | ports-5c97f72f63fd37fb6204a3edea0b3fad9fa59887.tar.gz ports-5c97f72f63fd37fb6204a3edea0b3fad9fa59887.zip |
Notes
Diffstat (limited to 'dns/c-ares')
-rw-r--r-- | dns/c-ares/Makefile | 30 |
1 files changed, 5 insertions, 25 deletions
diff --git a/dns/c-ares/Makefile b/dns/c-ares/Makefile index be13a0b7a345..f623cd654396 100644 --- a/dns/c-ares/Makefile +++ b/dns/c-ares/Makefile @@ -3,7 +3,7 @@ PORTNAME= c-ares PORTVERSION= 1.10.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= http://c-ares.haxx.se/download/ \ http://obsd.isc.org/pub/OpenBSD/distfiles/ \ @@ -34,30 +34,10 @@ CONFLICTS= ares-1.* MAKE_JOBS_UNSAFE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MCONFIG_INFO} -EXTRA_PATCHES+= ${FILESDIR}/ares-config-info.patch -PKGNAMESUFFIX= -config -.endif - -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+=--enable-debug -.else -CONFIGURE_ARGS+=--disable-debug -.endif - -.if ${PORT_OPTIONS:MHIDE_SYMBOLS} -CONFIGURE_ARGS+=--enable-symbol-hiding -.else -CONFIGURE_ARGS+=--disable-symbol-hiding -.endif - -.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -CONFIGURE_ARGS+=--enable-optimize -.else -CONFIGURE_ARGS+=--disable-optimize -.endif +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/ |