summaryrefslogtreecommitdiffstats
path: root/usr.bin/gzip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/gzip/Makefile')
-rw-r--r--usr.bin/gzip/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/gzip/Makefile b/usr.bin/gzip/Makefile
index 24e2506..1266277 100644
--- a/usr.bin/gzip/Makefile
+++ b/usr.bin/gzip/Makefile
@@ -6,12 +6,10 @@
PROG= gzip
MAN= gzip.1 gzexe.1 zdiff.1 zforce.1 zmore.1 znew.1
-DPADD= ${LIBZ} ${LIBLZMA}
-LDADD= -lz -llzma
+LIBADD= z lzma
.if ${MK_BZIP2_SUPPORT} != "no"
-DPADD+= ${LIBBZ2}
-LDADD+= -lbz2
+LIBADD+= bz2
.else
CFLAGS+= -DNO_BZIP2_SUPPORT
.endif
OpenPOWER on IntegriCloud