diff options
author | jlam <jlam@pkgsrc.org> | 2004-04-24 19:47:44 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-04-24 19:47:44 +0000 |
commit | 10f3c409e8ced096fb428cc8a371e41a993e8365 (patch) | |
tree | e2c6811d3738e9ef6bab9ec020ad493259d24dc6 /devel/gtexinfo/Makefile | |
parent | c9e8eea800ad3787a46b42e508e7988d05699c08 (diff) | |
download | pkgsrc-10f3c409e8ced096fb428cc8a371e41a993e8365.tar.gz |
If TEXINFO_LOCALE is set to "no", then don't build devel/gtexinfo with
NLS support. This simplifies bootstrapping pkgsrc using a pkgsrc compiler
on a clean system.
Diffstat (limited to 'devel/gtexinfo/Makefile')
-rw-r--r-- | devel/gtexinfo/Makefile | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/devel/gtexinfo/Makefile b/devel/gtexinfo/Makefile index ceaca2d474d..caab097e4ea 100644 --- a/devel/gtexinfo/Makefile +++ b/devel/gtexinfo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.50 2004/04/02 02:01:34 jlam Exp $ +# $NetBSD: Makefile,v 1.51 2004/04/24 19:47:44 jlam Exp $ DISTNAME= texinfo-4.6 PKGNAME= g${DISTNAME} @@ -14,16 +14,27 @@ COMMENT= GNU info file manipulation utilities PKG_INSTALLATION_TYPES= overwrite pkgviews USE_BUILDLINK3= yes -USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes +INFO_FILES= info-stnd.info info.info texinfo +TEST_TARGET= check +PLIST_SRC= ${PKGDIR}/PLIST PKGSRC_INFOPATH= ${PREFIX}/info:${X11BASE}/info:${LOCALBASE}/info MAKE_ENV+= PKGSRC_INFOPATH="${PKGSRC_INFOPATH}" -INFO_FILES= info-stnd.info info.info texinfo -TEST_TARGET= check +.include "../../mk/bsd.prefs.mk" + +TEXINFO_LOCALE?= yes +BUILD_DEFS+= TEXINFO_LOCALE +MAKEFLAGS+= TEXINFO_LOCALE=${TEXINFO_LOCALE} +.if !empty(TEXINFO_LOCALE:M[yY][eE][sS]) +USE_PKGLOCALEDIR= yes +PLIST_SRC+= ${PKGDIR}/PLIST.locale +. include "../../devel/gettext-lib/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-nls +.endif -.include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" # This need to be defined here to override the setting in texinfo.mk |