diff options
-rw-r--r-- | share/mk/bsd.own.mk | 1 | ||||
-rw-r--r-- | usr.bin/sort/Makefile | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index c682b6f..cd81d57 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -361,6 +361,7 @@ __DEFAULT_NO_OPTIONS = \ OFED \ OPENSSH_NONE_CIPHER \ SHARED_TOOLCHAIN \ + SORT_THREADS \ SVN \ TESTS \ USB_GADGET_EXAMPLES diff --git a/usr.bin/sort/Makefile b/usr.bin/sort/Makefile index ea68c45..3b257c2 100644 --- a/usr.bin/sort/Makefile +++ b/usr.bin/sort/Makefile @@ -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' |