summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-12-22 08:03:23 +0000
committerdelphij <delphij@FreeBSD.org>2015-12-22 08:03:23 +0000
commit897a072717635ed1cdd491bcd112147e58f4de0d (patch)
treefc6400160a194c6ade31da57ec01557fc22c87fa /usr.bin/grep
parent1515aec4ed9737a7508ecb3f30d50e49a4e90015 (diff)
downloadFreeBSD-src-897a072717635ed1cdd491bcd112147e58f4de0d.zip
FreeBSD-src-897a072717635ed1cdd491bcd112147e58f4de0d.tar.gz
MFC: xz 5.2.2.
Relnotes: yes
Diffstat (limited to 'usr.bin/grep')
-rw-r--r--usr.bin/grep/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile
index feb30db..ad90d2e 100644
--- a/usr.bin/grep/Makefile
+++ b/usr.bin/grep/Makefile
@@ -38,8 +38,8 @@ LDADD= -lz
DPADD= ${LIBZ}
.if !defined(WITHOUT_LZMA_SUPPORT)
-LDADD+= -llzma
-DPADD+= ${LIBLZMA}
+LDADD+= -llzma -lpthread
+DPADD+= ${LIBLZMA} ${LIBPTHREAD}
LINKS+= ${BINDIR}/${PROG} ${BINDIR}/xzgrep \
${BINDIR}/${PROG} ${BINDIR}/xzegrep \
OpenPOWER on IntegriCloud