** Switched the default library behavior to IDNA2008 as amended by TR#46 (non-transitional). That default behavior is enabled when no flags are specified to function calls. Applications can utilize the %IDN2_NO_TR46 flag to switch to the unamended IDNA2008. This is done in the interest of interoperability based on the fact that this is what application writers care about rather than strict compliance with a particular protocol. ** Fixed memleak in idn2_to_unicode_8zlz(). ** Return error (IDN2_ICONV_FAIL) on charset conversion errors. ** Fixed issue with STD3 rules applying in non-transitional TR46 mode. ** idn2: added option --usestd3asciirules.
28 lines
906 B
Makefile
28 lines
906 B
Makefile
# $NetBSD: Makefile,v 1.6 2018/09/08 18:56:47 schmonz Exp $
|
|
|
|
DISTNAME= libidn2-2.0.5
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=libidn/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.gnu.org/software/libidn/
|
|
COMMENT= Convert internationalized domain names to/from ASCII Encoding
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
GNU_CONFIGURE= yes
|
|
PKGCONFIG_OVERRIDE+= libidn2.pc.in
|
|
INFO_FILES= yes
|
|
|
|
# XXX: Kludge to avoid uncoditionally pick up some gtkdoc-* tools if gtk-doc
|
|
# XXX: package is installed and then fails in the installation phase.
|
|
CONFIGURE_ENV+= ac_cv_prog_GTKDOC_CHECK= \
|
|
ac_cv_path_GTKDOC_CHECK_PATH= \
|
|
ac_cv_path_GTKDOC_REBASE= \
|
|
ac_cv_path_GTKDOC_MKPDF=
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../textproc/libunistring/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|