pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools m4 might not exist e.g. on Slackware, conditi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/527ee8119916
branches:  trunk
changeset: 515175:527ee8119916
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jun 26 18:14:51 2006 +0000

description:
m4 might not exist e.g. on Slackware, conditionalize it.

diffstat:

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

diffs (19 lines):

diff -r 7119a729ad7c -r 527ee8119916 mk/tools/tools.Linux.mk
--- a/mk/tools/tools.Linux.mk   Mon Jun 26 18:05:18 2006 +0000
+++ b/mk/tools/tools.Linux.mk   Mon Jun 26 18:14:51 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Linux.mk,v 1.35 2006/06/20 22:32:28 minskim Exp $
+# $NetBSD: tools.Linux.mk,v 1.36 2006/06/26 18:14:51 joerg Exp $
 #
 # System-supplied tools for the Linux operating system.
 
@@ -61,7 +61,9 @@
 TOOLS_PLATFORM.file?=          /usr/bin/file
 TOOLS_PLATFORM.find?=          /usr/bin/find
 TOOLS_PLATFORM.gawk?=          /usr/bin/awk
+.if exists(/usr/bin/m4)
 TOOLS_PLATFORM.gm4?=           /usr/bin/m4
+.endif
 .if exists(/usr/bin/make)
 TOOLS_PLATFORM.gmake?=         /usr/bin/make
 .endif



Home | Main Index | Thread Index | Old Index