summaryrefslogtreecommitdiffstats
path: root/usr.bin/sort
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2012-06-27 05:50:15 +0000
committergabor <gabor@FreeBSD.org>2012-06-27 05:50:15 +0000
commitdd4780f8e21ad585d7fc04194b115a6417d803d6 (patch)
tree441088001ce7bdea70e37e1187ce306ca4359758 /usr.bin/sort
parentdbdcceb5270d45c3a3ef52ee9bff9993f3bce1e9 (diff)
downloadFreeBSD-src-dd4780f8e21ad585d7fc04194b115a6417d803d6.zip
FreeBSD-src-dd4780f8e21ad585d7fc04194b115a6417d803d6.tar.gz
- Disable threaded sort by default
- Fix typo in the NLS support
Diffstat (limited to 'usr.bin/sort')
-rw-r--r--usr.bin/sort/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sort/Makefile b/usr.bin/sort/Makefile
index 162df21..14e69e5 100644
--- a/usr.bin/sort/Makefile
+++ b/usr.bin/sort/Makefile
@@ -21,7 +21,7 @@ sort.1: sort.1.in
CLEANFILES+= sort.1
-.if !defined(WITHOUT_THREADS)
+.if defined(WITH_THREADS)
CFLAGS+= -DSORT_THREADS
LDFLAGS+= -lpthread -lmd
MAN_SUB+= -e 's|%%THREADS%%||g'
@@ -39,7 +39,7 @@ NLSSRCDIR_${lang}= ${.CURDIR}/nls
.endfor
.else
CFLAGS+= -DWITHOUT_NLS
-MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g'
+MAN_SUB+= -e 's|%%NLS%%|\.\\"|g'
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud