NLS support for sort(1) is: 1/ incomplete: many error string are not using nls 2/ only covers hu_HU.ISO8859-2
28 lines
449 B
Makefile
28 lines
449 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= runtime
|
|
PROG= sort
|
|
SRCS= bwstring.c coll.c file.c mem.c radixsort.c sort.c vsort.c
|
|
CSTD= c11
|
|
|
|
sort.1: sort.1.in
|
|
sed ${MAN_SUB} ${.ALLSRC} >${.TARGET}
|
|
|
|
CLEANFILES+= sort.1
|
|
|
|
.if ${MK_SORT_THREADS} != "no"
|
|
CFLAGS+= -DSORT_THREADS
|
|
LIBADD= pthread md
|
|
MAN_SUB+= -e 's|%%THREADS%%||g'
|
|
.else
|
|
LIBADD= md
|
|
MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g'
|
|
.endif
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|