diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-02-08 20:57:29 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-02-08 20:57:29 +0000 |
commit | d6b724fc80d707c1bed707d803b056c673e4fd8d (patch) | |
tree | 91c54fdea48177648e4318347090a07926ad7c83 /textproc/intltool | |
parent | 22ed10548c6e44bf252d0ccc558d9dc0dfb3d16a (diff) | |
download | pkgsrc-d6b724fc80d707c1bed707d803b056c673e4fd8d.tar.gz |
Automatically override intltool utilities in a package using this file.
This will use the latest version of the tools and also handle (hidden) build
dependancies automatically and in a consistent way.
Diffstat (limited to 'textproc/intltool')
-rw-r--r-- | textproc/intltool/buildlink2.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/textproc/intltool/buildlink2.mk b/textproc/intltool/buildlink2.mk index bcdfd541b7b..5bbc19ad8de 100644 --- a/textproc/intltool/buildlink2.mk +++ b/textproc/intltool/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.7 2004/02/06 18:41:02 minskim Exp $ +# $NetBSD: buildlink2.mk,v 1.8 2004/02/08 20:57:29 jmmv Exp $ .if !defined(INTLTOOL_BUILDLINK2_MK) INTLTOOL_BUILDLINK2_MK= # defined @@ -14,6 +14,17 @@ BUILDLINK_PREFIX.intltool_DEFAULT= ${LOCALBASE} USE_PERL5?= build .include "../../lang/perl5/buildlink2.mk" +CONFIGURE_ENV+= INTLTOOL_PERL="${PERL5}" + +INTLTOOLIZE= ${BUILDLINK_PREFIX.intltool}/bin/intltoolize + +_CONFIGURE_PREREQ+= intltoolize + +intltoolize: + ${_PKG_SILENT}${_PKG_DEBUG} \ + ${ECHO} "=> Overriding intltool." + @cd ${WRKSRC} && ${INTLTOOLIZE} --force >/dev/null 2>&1 + BUILDLINK_TARGETS+= intltool-buildlink intltool-buildlink: _BUILDLINK_USE |