diff options
author | leot <leot@pkgsrc.org> | 2019-05-15 10:49:28 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2019-05-15 10:49:28 +0000 |
commit | ba74614dd65d5740d96dc180c34f9ab512d74227 (patch) | |
tree | a6abb6cc7040e448a8de19a141709a13ca776ca1 /mk | |
parent | 4e4ba4573841283e09c769e97e72a86928253b0f (diff) | |
download | pkgsrc-ba74614dd65d5740d96dc180c34f9ab512d74227.tar.gz |
mk/tools: Add support for autoconf*:test and automake*:test
Thanks to <martin> for catching the unintended autoconf tool dependency!
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/autoconf.mk | 6 | ||||
-rw-r--r-- | mk/tools/automake.mk | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/mk/tools/autoconf.mk b/mk/tools/autoconf.mk index 78a1c67a643..62fe274562c 100644 --- a/mk/tools/autoconf.mk +++ b/mk/tools/autoconf.mk @@ -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 @@ AUTOCONF_REQD?= 2.50 . 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 @@ AUTOCONF_REQD?= 2.13 . 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 --git a/mk/tools/automake.mk b/mk/tools/automake.mk index 90c3f6203b4..f241cd60871 100644 --- a/mk/tools/automake.mk +++ b/mk/tools/automake.mk @@ -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 @@ AUTOCONF_REQD?= 2.58 . 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 @@ AUTOCONF_REQD?= 2.13 . 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 |