pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools Only override intltool if the intltool tool w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0ac0b479301
branches:  trunk
changeset: 515639:b0ac0b479301
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jul 05 10:23:58 2006 +0000

description:
Only override intltool if the intltool tool was requested.

diffstat:

 mk/tools/intltool.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 7697a54d9dce -r b0ac0b479301 mk/tools/intltool.mk
--- a/mk/tools/intltool.mk      Wed Jul 05 09:39:23 2006 +0000
+++ b/mk/tools/intltool.mk      Wed Jul 05 10:23:58 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: intltool.mk,v 1.2 2006/07/05 05:21:59 jlam Exp $
+# $NetBSD: intltool.mk,v 1.3 2006/07/05 10:23:58 jlam Exp $
 #
 # Copyright (c) 2006 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -73,7 +73,9 @@
 # correctly "recent".
 #
 .PHONY: override-intltool override-message-intltool
-post-configure: override-intltool
+.if !empty(USE_TOOLS:C/:.*//:Mintltool)
+do-configure-post-hook: override-intltool
+.endif
 override-intltool: override-message-intltool
 override-message-intltool:
        @${STEP_MSG} "Overriding intltool."



Home | Main Index | Thread Index | Old Index