Skip to content

Commit

Permalink
converters/libiconv: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: FreeBSD
  • Loading branch information
fichtner committed Aug 20, 2015
1 parent 2ccf9bb commit 500428f
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions converters/libiconv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 500428f

Please sign in to comment.