diff options
author | tnn <tnn> | 2008-04-04 15:49:18 +0000 |
---|---|---|
committer | tnn <tnn> | 2008-04-04 15:49:18 +0000 |
commit | 8b9a647e5ef99f2e227cf364ce4148c789806874 (patch) | |
tree | ad4044ffb2cdfd4e7c52286c002470c9d52be4be /mk/tools | |
parent | 034f8dc20ddeec3ba9631515760dbfbc0d351583 (diff) | |
download | pkgsrc-8b9a647e5ef99f2e227cf364ce4148c789806874.tar.gz |
Detect and use native bzip2(1) tool.
Diffstat (limited to 'mk/tools')
-rw-r--r-- | mk/tools/tools.Linux.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk index ac8b44bd42a..23dfa3d4c5c 100644 --- a/mk/tools/tools.Linux.mk +++ b/mk/tools/tools.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.Linux.mk,v 1.42 2008/02/19 03:03:08 epg Exp $ +# $NetBSD: tools.Linux.mk,v 1.43 2008/04/04 15:49:18 tnn Exp $ # # System-supplied tools for the Linux operating system. @@ -21,6 +21,11 @@ TOOLS_PLATFORM.bzcat?= /bin/bzcat .elif exists(/usr/bin/bzip2) TOOLS_PLATFORM.bzcat?= /usr/bin/bzip2 -cd .endif +.if exists(/usr/bin/bzip2) +TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2 +.elif exists(/bin/bzip2) +TOOLS_PLATFORM.bzip2?= /bin/bzip2 +.endif TOOLS_PLATFORM.cat?= /bin/cat TOOLS_PLATFORM.chgrp?= /bin/chgrp TOOLS_PLATFORM.chmod?= /bin/chmod |