pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Detect and use native bzip2(1) tool.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a0fca090a989
branches:  trunk
changeset: 540587:a0fca090a989
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Apr 04 15:49:18 2008 +0000

description:
Detect and use native bzip2(1) tool.

diffstat:

 mk/tools/tools.Linux.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r c1674f7bf4eb -r a0fca090a989 mk/tools/tools.Linux.mk
--- a/mk/tools/tools.Linux.mk   Fri Apr 04 15:47:01 2008 +0000
+++ b/mk/tools/tools.Linux.mk   Fri Apr 04 15:49:18 2008 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index