diff options
author | grant <grant@pkgsrc.org> | 2005-06-16 04:30:46 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-06-16 04:30:46 +0000 |
commit | 3bfb445a3552a9aad2e40b5a349d400194db0005 (patch) | |
tree | 9ff8d54f25cdee178faf858d64fac8c93eb0c23e | |
parent | 764f8f0e61bf5c50d6f89c32fe4633613ecd5a99 (diff) | |
download | pkgsrc-3bfb445a3552a9aad2e40b5a349d400194db0005.tar.gz |
provide defaults for bzcat and tbl to avoid unnecessary build
dependencies on archivers/bzip2 and textproc/groff when they are
available in the base system.
-rw-r--r-- | mk/tools/tools.Linux.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk index fff33f60f8d..2eada60599c 100644 --- a/mk/tools/tools.Linux.mk +++ b/mk/tools/tools.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.Linux.mk,v 1.19 2005/06/03 22:54:44 jlam Exp $ +# $NetBSD: tools.Linux.mk,v 1.20 2005/06/16 04:30:46 grant Exp $ # # System-supplied tools for the Linux operating system. @@ -13,6 +13,11 @@ TOOLS_PLATFORM.basename?= /usr/bin/basename TOOLS_PLATFORM.bison?= /usr/bin/bison TOOLS_PLATFORM.bison-yacc?= /usr/bin/bison -y .endif +.if exists(/usr/bin/bzcat) +TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat +.elif exists(/usr/bin/bzip2) +TOOLS_PLATFORM.bzcat?= /usr/bin/bzip2 -cd +.endif TOOLS_PLATFORM.cat?= /bin/cat TOOLS_PLATFORM.chgrp?= /bin/chgrp TOOLS_PLATFORM.chmod?= /bin/chmod @@ -119,6 +124,9 @@ TOOLS_PLATFORM.sort?= /usr/bin/sort TOOLS_PLATFORM.strip?= /usr/bin/strip TOOLS_PLATFORM.tail?= /usr/bin/tail TOOLS_PLATFORM.tar?= ${TOOLS_PLATFORM.gtar} +.if exists(/usr/bin/tbl) +TOOLS_PLATFORM.tbl?= /usr/bin/tbl +.endif TOOLS_PLATFORM.tee?= /usr/bin/tee TOOLS_PLATFORM.test?= test # shell builtin .if exists(/bin/touch) |