pkgsrc/devel/gettext-lib/Makefile
bsiegert 060d5eec4d Remove autoconf dependency. It turns out that autoconf indirectly depends
on gettext-lib (via help2man), creating a circular dependency.

Thanks to sevan@ for noticing.
2015-04-11 18:27:32 +00:00

30 lines
934 B
Makefile

# $NetBSD: Makefile,v 1.57 2015/04/11 18:27:32 bsiegert 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}
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"