diff options
author | nia <nia@pkgsrc.org> | 2020-05-28 14:47:36 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-05-28 14:47:36 +0000 |
commit | d85206a7de0cdfcd72d2dd0f78882394156dd435 (patch) | |
tree | a0341330c7965b0d24bcf606bfb3e3eab7b99d84 | |
parent | 0590ed5cb33161e59bb72d78e13bf52ea7251539 (diff) | |
download | pkgsrc-d85206a7de0cdfcd72d2dd0f78882394156dd435.tar.gz |
mk/tools: not all linuxes have bash (e.g. alpine)
-rw-r--r-- | mk/tools/tools.Linux.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk index ee94110fc4e..4239f26f0e4 100644 --- a/mk/tools/tools.Linux.mk +++ b/mk/tools/tools.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.Linux.mk,v 1.63 2018/11/12 13:34:39 jperkin Exp $ +# $NetBSD: tools.Linux.mk,v 1.64 2020/05/28 14:47:36 nia Exp $ # # System-supplied tools for the Linux operating system. @@ -16,7 +16,9 @@ TOOLS_PLATFORM.basename?= /bin/basename .elif exists(/usr/bin/basename) TOOLS_PLATFORM.basename?= /usr/bin/basename .endif +.if exists(/bin/bash) TOOLS_PLATFORM.bash?= /bin/bash +.endif .if exists(/usr/bin/bison) TOOLS_PLATFORM.bison?= /usr/bin/bison TOOLS_PLATFORM.bison-yacc?= /usr/bin/bison -y |