Convert sort to using newer MK_ convention.

This commit is contained in:
Warner Losh 2014-04-05 18:01:49 +00:00
parent 26ff68c00c
commit cf57243a46
2 changed files with 3 additions and 2 deletions

View File

@ -361,6 +361,7 @@ __DEFAULT_NO_OPTIONS = \
OFED \
OPENSSH_NONE_CIPHER \
SHARED_TOOLCHAIN \
SORT_THREADS \
SVN \
TESTS \
USB_GADGET_EXAMPLES

View File

@ -11,7 +11,7 @@ sort.1: sort.1.in
CLEANFILES+= sort.1
.if defined(WITH_THREADS)
.if ${MK_SORT_THREADS} != "no"
CFLAGS+= -DSORT_THREADS
LDFLAGS+= -lpthread -lmd
MAN_SUB+= -e 's|%%THREADS%%||g'
@ -20,7 +20,7 @@ LDFLAGS+= -lmd
MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g'
.endif
.if !defined(WITHOUT_NLS)
.if ${MK_NLS} != "no"
NLS+= hu_HU.ISO8859-2
NLSSRCFILES= ${NLS:S@$@.msg@}
MAN_SUB+= -e 's|%%NLS%%||g'