diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-12-22 02:35:08 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-12-22 02:35:08 +0800 |
commit | 4096faf2b57799b9ac74c1c6b856c3572202a7b6 (patch) | |
tree | a6eb634ef62596738ccfe993de4bd839991fae3e /dns | |
parent | 868dcf9822c39efd87debfbaa68f3562dce9b5a9 (diff) | |
download | freebsd-ports-gnome-4096faf2b57799b9ac74c1c6b856c3572202a7b6.tar.gz freebsd-ports-gnome-4096faf2b57799b9ac74c1c6b856c3572202a7b6.tar.zst freebsd-ports-gnome-4096faf2b57799b9ac74c1c6b856c3572202a7b6.zip |
- Convert to new options helper
- Remove PKGNAMESUFFIX
- Bump PORTREVISION for PKGNAME change
Diffstat (limited to 'dns')
-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/ |