From eb1c57d87293f51ce8b71a87834fbc5afb471007 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 5 Mar 2002 19:40:25 +0000 Subject: [PATCH] On the sparc64 platform we install this as "gawk" as Gawk is currently borked on the sparc64. We are using BWK's AWK at the moment. --- gnu/usr.bin/awk/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/usr.bin/awk/Makefile b/gnu/usr.bin/awk/Makefile index b3402deba304..6109e65d2e7e 100644 --- a/gnu/usr.bin/awk/Makefile +++ b/gnu/usr.bin/awk/Makefile @@ -6,11 +6,17 @@ .PATH: ${.CURDIR}/../../../contrib/awk +.if ${MACHINE_ARCH} == "sparc64" +PROG= gawk +.else PROG= awk +.endif SRCS= array.c awkgram.y builtin.c eval.c field.c gawkmisc.c io.c main.c \ msg.c node.c re.c version.c dfa.c getopt.c getopt1.c ext.c profile.c MAN= doc/gawk.1 +.if ${MACHINE_ARCH} != "sparc64" MLINKS= gawk.1 awk.1 +.endif YFLAGS= @@ -19,6 +25,7 @@ CFLAGS+= -funsigned-char CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../../contrib/awk CFLAGS+= -DHAVE_CONFIG_H -DGAWK -DDEFPATH=\".\" +WARNS= 0 SUBDIR+= doc