pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Check that /usr/bin/patch really exists, so t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df2f6cd59ca8
branches:  trunk
changeset: 542445:df2f6cd59ca8
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat May 17 18:34:50 2008 +0000

description:
Check that /usr/bin/patch really exists, so that we can gracefully fall
back to depending on devel/patch.

diffstat:

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

diffs (19 lines):

diff -r cb20238a0884 -r df2f6cd59ca8 mk/tools/tools.Linux.mk
--- a/mk/tools/tools.Linux.mk   Sat May 17 14:19:00 2008 +0000
+++ b/mk/tools/tools.Linux.mk   Sat May 17 18:34:50 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Linux.mk,v 1.43 2008/04/04 15:49:18 tnn Exp $
+# $NetBSD: tools.Linux.mk,v 1.44 2008/05/17 18:34:50 tnn Exp $
 #
 # System-supplied tools for the Linux operating system.
 
@@ -170,7 +170,9 @@
 .if exists(/usr/bin/openssl)
 TOOLS_PLATFORM.openssl?=       /usr/bin/openssl
 .endif
+.if exists(/usr/bin/patch)
 TOOLS_PLATFORM.patch?=         /usr/bin/patch
+.endif
 .if exists(/usr/bin/printf)
 TOOLS_PLATFORM.printf?=                /usr/bin/printf
 .endif



Home | Main Index | Thread Index | Old Index