# $NetBSD: Makefile,v 1.59 2019/11/03 10:39:12 rillig Exp $ .include "../../devel/gettext/Makefile.common" PKGNAME= ${DISTNAME:S/-/-lib-/} COMMENT= Internationalized Message Handling Library (libintl) USE_LANGUAGES= c CONFIGURE_ARGS+= --with-included-gettext CONFIGURE_ARGS+= --disable-csharp CONFIGURE_ARGS+= --disable-c++ CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} GNU_CONFIGURE_STRICT= no # because of gettext-tools/examples CFLAGS+= ${CFLAGS.${ICONV_TYPE}-iconv} CFLAGS.gnu-iconv+= -DHAVE_GNU_ICONV INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} localedir=${EGDIR} INSTALL_MAKE_FLAGS+= includedir=${PREFIX}/include/gettext #CONFIGURE_DIRS= gettext-runtime BUILD_DIRS= gettext-runtime/intl EGDIR= ${PREFIX}/share/examples/gettext LOCALEDIR= ${PREFIX}/${PKGLOCALEDIR}/locale REQD_DIRS+= ${LOCALEDIR} REQD_FILES+= ${EGDIR}/locale.alias ${LOCALEDIR}/locale.alias .include "../../converters/libiconv/buildlink3.mk" .include "../../mk/bsd.pkg.mk"