diff options
author | tnn <tnn@pkgsrc.org> | 2008-05-17 18:34:50 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-05-17 18:34:50 +0000 |
commit | a62afabe143a25fb0d3897aa97b5e1362017b920 (patch) | |
tree | e0f0c9815f1c8bfa81467c21eeea255fc9373b3a /mk/tools | |
parent | 64082fc6315fc1e4393d13aef48898ae3df660c6 (diff) | |
download | pkgsrc-a62afabe143a25fb0d3897aa97b5e1362017b920.tar.gz |
Check that /usr/bin/patch really exists, so that we can gracefully fall
back to depending on devel/patch.
Diffstat (limited to 'mk/tools')
-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 23dfa3d4c5c..cacd24d122d 100644 --- a/mk/tools/tools.Linux.mk +++ b/mk/tools/tools.Linux.mk @@ -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 @@ TOOLS_PLATFORM.nroff?= /usr/bin/nroff .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 |