mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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.
This commit is contained in:
parent
855d400bea
commit
aa5619ca9e
2 changed files with 11 additions and 2 deletions
|
|
@ -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}
|
||||
|
|
|
|||
4
usr.bin/sort/netbsd.h
Normal file
4
usr.bin/sort/netbsd.h
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
/* $FreeBSD$ */
|
||||
|
||||
#define __RCSID(x) /* nothing */
|
||||
#define __SCCSID(x) /* nothing */
|
||||
Loading…
Reference in a new issue