pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools mk/tools: Add support for autoconf*:test and ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5cc66d00bf9d
branches:  trunk
changeset: 333879:5cc66d00bf9d
user:      leot <leot%pkgsrc.org@localhost>
date:      Wed May 15 10:49:28 2019 +0000

description:
mk/tools: Add support for autoconf*:test and automake*:test

Thanks to <martin> for catching the unintended autoconf tool dependency!

diffstat:

 mk/tools/autoconf.mk |  6 +++++-
 mk/tools/automake.mk |  6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (54 lines):

diff -r 7670dca99ba8 -r 5cc66d00bf9d mk/tools/autoconf.mk
--- a/mk/tools/autoconf.mk      Wed May 15 10:14:25 2019 +0000
+++ b/mk/tools/autoconf.mk      Wed May 15 10:49:28 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: autoconf.mk,v 1.20 2018/08/22 20:48:37 maya Exp $
+# $NetBSD: autoconf.mk,v 1.21 2019/05/15 10:49:28 leot Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -95,6 +95,8 @@
 
 .    if !empty(USE_TOOLS:Mautoconf\:run)
 _TOOLS_DEPMETHOD.autoconf=     DEPENDS
+.    elif !empty(USE_TOOLS:Mautoconf\:test)
+_TOOLS_DEPMETHOD.autoconf=     TEST_DEPENDS
 .    else
 _TOOLS_DEPMETHOD.autoconf=     TOOL_DEPENDS
 .    endif
@@ -134,6 +136,8 @@
 
 .    if !empty(USE_TOOLS:Mautoconf213\:run)
 _TOOLS_DEPMETHOD.autoconf213=  DEPENDS
+.    elif !empty(USE_TOOLS:Mautoconf213\:test)
+_TOOLS_DEPMETHOD.autoconf=     TEST_DEPENDS
 .    else
 _TOOLS_DEPMETHOD.autoconf213=  TOOL_DEPENDS
 .    endif
diff -r 7670dca99ba8 -r 5cc66d00bf9d mk/tools/automake.mk
--- a/mk/tools/automake.mk      Wed May 15 10:14:25 2019 +0000
+++ b/mk/tools/automake.mk      Wed May 15 10:49:28 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: automake.mk,v 1.30 2018/12/01 04:58:55 wiz Exp $
+# $NetBSD: automake.mk,v 1.31 2019/05/15 10:49:28 leot Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -115,6 +115,8 @@
 
 .    if !empty(USE_TOOLS:Mautomake\:run)
 _TOOLS_DEPMETHOD.automake=     DEPENDS
+.    elif !empty(USE_TOOLS:Mautomake\:test)
+_TOOLS_DEPMETHOD.automake=     TEST_DEPENDS
 .    else
 _TOOLS_DEPMETHOD.automake=     TOOL_DEPENDS
 .    endif
@@ -140,6 +142,8 @@
 
 .    if !empty(USE_TOOLS:Mautomake14\:run)
 _TOOLS_DEPMETHOD.automake14=   DEPENDS
+.    elif !empty(USE_TOOLS:Mautomake14\:test)
+_TOOLS_DEPMETHOD.automake=     TEST_DEPENDS
 .    else
 _TOOLS_DEPMETHOD.automake14=   TOOL_DEPENDS
 .    endif



Home | Main Index | Thread Index | Old Index