pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/intltool Automatically override intltool util...
details: https://anonhg.NetBSD.org/pkgsrc/rev/30a764b90c0e
branches: trunk
changeset: 467928:30a764b90c0e
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Sun Feb 08 20:57:29 2004 +0000
description:
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:
textproc/intltool/buildlink2.mk | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 0a8b3c0f2165 -r 30a764b90c0e textproc/intltool/buildlink2.mk
--- a/textproc/intltool/buildlink2.mk Sun Feb 08 17:08:13 2004 +0000
+++ b/textproc/intltool/buildlink2.mk Sun Feb 08 20:57:29 2004 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index