From 9d30f78a00bed11384c7259f662e9352754275db Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 19 Aug 2015 13:29:59 +0000 Subject: Convert ports to use the options helpers in categories [abc]*, and minor fixes. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412? --- converters/libiconv/Makefile | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'converters/libiconv') diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile index b23318638e55..ac6c4baf32c4 100644 --- a/converters/libiconv/Makefile +++ b/converters/libiconv/Makefile @@ -26,18 +26,11 @@ OPTIONS_DEFAULT=ENCODINGS ENCODINGS_DESC= Include extra character sets PATCHES_DESC= Apply patches to fix CP932, add EUCJP-MS -.include - -.if ${PORT_OPTIONS:MENCODINGS} -CONFIGURE_ARGS+= --enable-extra-encodings -.endif - -.if ${PORT_OPTIONS:MPATCHES} -PATCH_SITES+= http://apolloron.org/software/libiconv-1.14-ja/ -PATCH_SITES+= LOCAL/kwm -PATCHFILES+= ${DISTNAME}-ja-1.patch.gz -PATCH_DIST_STRIP+= -p1 -.endif +ENCODINGS_CONFIGURE_ENABLE= extra-encodings + +PATCHES_PATCH_SITES= http://apolloron.org/software/libiconv-1.14-ja/ \ + LOCAL/kwm +PATCHES_PATCHFILES= ${DISTNAME}-ja-1.patch.gz:-p1 post-patch: @${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h -- cgit