summaryrefslogtreecommitdiff
path: root/textproc/intltool
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/intltool')
-rw-r--r--textproc/intltool/buildlink2.mk13
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