aboutsummaryrefslogtreecommitdiff
path: root/converters/libiconv/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /converters/libiconv/Makefile
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Notes
Diffstat (limited to 'converters/libiconv/Makefile')
-rw-r--r--converters/libiconv/Makefile17
1 files changed, 5 insertions, 12 deletions
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 <bsd.port.options.mk>
-
-.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