summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-05 19:40:25 +0000
committerobrien <obrien@FreeBSD.org>2002-03-05 19:40:25 +0000
commit2e6dedc4ea59795e4aa640da891e334dee3f3980 (patch)
tree9e3e9851a007bddc957b6f8f996927b14bf0a56b /gnu/usr.bin
parent9a6aca91ddaa8ff64442ea95234385e4e8550f53 (diff)
downloadFreeBSD-src-2e6dedc4ea59795e4aa640da891e334dee3f3980.zip
FreeBSD-src-2e6dedc4ea59795e4aa640da891e334dee3f3980.tar.gz
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.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/awk/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/usr.bin/awk/Makefile b/gnu/usr.bin/awk/Makefile
index b3402de..6109e65 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
OpenPOWER on IntegriCloud