Module Name:    src
Committed By:   joerg
Date:           Sun Jul 28 12:44:36 UTC 2019

Modified Files:
        src/usr.bin/unzip: Makefile

Log Message:
Explicitly link against libpthread and liblzma to make static linking
happy. Newer libarchive supports LZMA compression in zip files.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/unzip/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/unzip/Makefile
diff -u src/usr.bin/unzip/Makefile:1.6 src/usr.bin/unzip/Makefile:1.7
--- src/usr.bin/unzip/Makefile:1.6	Sun May 21 15:28:43 2017
+++ src/usr.bin/unzip/Makefile	Sun Jul 28 12:44:36 2019
@@ -1,13 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2017/05/21 15:28:43 riastradh Exp $
+# $NetBSD: Makefile,v 1.7 2019/07/28 12:44:36 joerg Exp $
 
 .include <bsd.own.mk>
 PROG=	unzip
 
-DPADD+=		${LIBARCHIVE} ${LIBZ} ${LIBBZ2}
-LDADD+=		-larchive -lz -lbz2
-
-LDADD+=  -lcrypto
-DPADD+=  ${LIBCRYPTO}
+DPADD+=		${LIBARCHIVE} ${LIBZ} ${LIBBZ2} ${LIBLZMA} ${LIBCRYPTO} ${LIBPTHREAD}
+LDADD+=		-larchive -lz -lbz2 -llzma -lcrypto -lpthread
 
 COPTS.unzip.c += -Wno-format-y2k
 

Reply via email to