diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-04-06 13:59:43 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-04-06 13:59:43 +0000 |
commit | aa5619ca9eea6f1014ea457333b33f55b80cf59d (patch) | |
tree | 8e30a97af78d5074548ffb64e93d5653c10ead10 /usr.bin/sort | |
parent | 855d400bea099180930b1a0963ab3b19c3ea7a59 (diff) | |
download | src-aa5619ca9eea6f1014ea457333b33f55b80cf59d.tar.gz src-aa5619ca9eea6f1014ea457333b33f55b80cf59d.zip |
Build a working version of sort(1) from contrib. Use netbsd.h as a hack
to avoid bringing the sources off the vendor branch just to #ifdef out
the RCS and SCCS IDs.
Notes
Notes:
svn path=/head/; revision=93971
Diffstat (limited to 'usr.bin/sort')
-rw-r--r-- | usr.bin/sort/Makefile | 9 | ||||
-rw-r--r-- | usr.bin/sort/netbsd.h | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/sort/Makefile b/usr.bin/sort/Makefile index d7259ba3e4f6..efa36331cb9d 100644 --- a/usr.bin/sort/Makefile +++ b/usr.bin/sort/Makefile @@ -1,7 +1,12 @@ -# $NetBSD: Makefile,v 1.3 2001/01/08 19:16:49 jdolecek Exp $ -# from: @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $FreeBSD$ + +SRCDIR= ${.CURDIR}/../../contrib/sort PROG= sort SRCS= append.c fields.c files.c fsort.c init.c msort.c sort.c tmp.c +MAN= sort.1 +CFLAGS+=-I${SRCDIR} -include ${.CURDIR}/netbsd.h .include <bsd.prog.mk> + +.PATH: ${SRCDIR} diff --git a/usr.bin/sort/netbsd.h b/usr.bin/sort/netbsd.h new file mode 100644 index 000000000000..ebfefade3a01 --- /dev/null +++ b/usr.bin/sort/netbsd.h @@ -0,0 +1,4 @@ +/* $FreeBSD$ */ + +#define __RCSID(x) /* nothing */ +#define __SCCSID(x) /* nothing */ |