fb0181fbec
* The library and the iconv program now understand platform dependent aliases, for better compatibility with the platform's own iconv_open function. Examples: "646" on Solaris, "iso88591" on HP-UX, "IBM-1252" on AIX. * For stateful encodings, when the input ends with a shift sequence followed by invalid input, the iconv function now increments the input pointer past the shift sequence before returning (size_t)(-1) with errno = EILSEQ. This is also like GNU libc's iconv() behaves. * The library exports a new function iconv_open_into() that stores the conversion descriptor in pre-allocated memory, rather than allocating fresh memory for it. * Added CP1131 converter.
14 lines
388 B
Makefile
14 lines
388 B
Makefile
# $NetBSD: options.mk,v 1.3 2010/11/10 21:00:49 adam Exp $
|
|
#
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libiconv
|
|
PKG_SUPPORTED_OPTIONS= libiconv-cp932
|
|
PKG_SUGGESTED_OPTIONS= libiconv-cp932
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibiconv-cp932)
|
|
PATCH_SITES= http://www2d.biglobe.ne.jp/~msyk/software/libiconv/
|
|
PATCHFILES= libiconv-1.13-cp932.patch.gz
|
|
PATCH_DIST_STRIP= -p1
|
|
.endif
|