summaryrefslogtreecommitdiffstats
path: root/usr.bin/sort
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
committerbapt <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
commit8d6c7a49a6d934aea5c5f8462780dbfda3749520 (patch)
treeddfef911600b923ca0abdbed4461a288b9249837 /usr.bin/sort
parentf28badddf72721ca05d713d86627fcde7866aaf9 (diff)
downloadFreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.zip
FreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.tar.gz
Convert to usr.bin/ to LIBADD
Reduce overlinking
Diffstat (limited to 'usr.bin/sort')
-rw-r--r--usr.bin/sort/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/sort/Makefile b/usr.bin/sort/Makefile
index 532e930..d097beb 100644
--- a/usr.bin/sort/Makefile
+++ b/usr.bin/sort/Makefile
@@ -13,12 +13,10 @@ CLEANFILES+= sort.1
.if ${MK_SORT_THREADS} != "no"
CFLAGS+= -DSORT_THREADS
-LDADD= -lpthread -lmd
-DPADD= ${LIBPTHREAD} ${LIBMD}
+LIBADD= pthread md
MAN_SUB+= -e 's|%%THREADS%%||g'
.else
-LDADD= -lmd
-DPADD= ${LIBMD}
+LIBADD= md
MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g'
.endif
OpenPOWER on IntegriCloud