summaryrefslogtreecommitdiff
path: root/textproc/intltool/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/intltool/buildlink3.mk')
-rw-r--r--textproc/intltool/buildlink3.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/intltool/buildlink3.mk b/textproc/intltool/buildlink3.mk
index ae5b435a2b0..0c4e85fffe1 100644
--- a/textproc/intltool/buildlink3.mk
+++ b/textproc/intltool/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2004/03/05 19:25:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2004/03/18 09:12:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
INTLTOOL_BUILDLINK3_MK:= ${INTLTOOL_BUILDLINK3_MK}+
@@ -14,11 +14,13 @@ BUILDLINK_PACKAGES+= intltool
BUILDLINK_DEPENDS.intltool+= intltool>=0.30
BUILDLINK_PKGSRCDIR.intltool?= ../../textproc/intltool
BUILDLINK_DEPMETHOD.intltool?= build
+.endif # INTLTOOL_BUILDLINK3_MK
USE_PERL5?= build
.include "../../lang/perl5/buildlink3.mk"
+.if !empty(INTLTOOL_BUILDLINK3_MK:M+)
CONFIGURE_ENV+= INTLTOOL_PERL="${PERL5}"
INTLTOOLIZE= ${BUILDLINK_PREFIX.intltool}/bin/intltoolize
@@ -29,7 +31,6 @@ intltoolize:
${_PKG_SILENT}${_PKG_DEBUG} \
${ECHO} "=> Overriding intltool."
@cd ${WRKSRC} && ${INTLTOOLIZE} --force >/dev/null 2>&1
-
.endif # INTLTOOL_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}