Module Name: src
Committed By: christos
Date: Sun Aug 12 08:00:32 UTC 2018
Modified Files:
src/usr.bin/grep: Makefile
Log Message:
fix libraries
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/grep/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/grep/Makefile
diff -u src/usr.bin/grep/Makefile:1.8 src/usr.bin/grep/Makefile:1.9
--- src/usr.bin/grep/Makefile:1.8 Sun Aug 12 03:59:14 2018
+++ src/usr.bin/grep/Makefile Sun Aug 12 04:00:32 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2018/08/12 07:59:14 christos Exp $
+# $NetBSD: Makefile,v 1.9 2018/08/12 08:00:32 christos Exp $
# $FreeBSD: head/usr.bin/grep/Makefile 210389 2010-07-22 19:11:57Z gabor $
# $OpenBSD: Makefile,v 1.6 2003/06/25 15:00:04 millert Exp $
@@ -21,8 +21,8 @@ LDADD+= -lz
DPADD+= ${LIBZ}
.if empty(HOST_CPPFLAGS:M*-DWITHOUT_BZ2*)
-LDADD+= -lz
-DPADD+= ${LIBZ}
+LDADD+= -lbz2
+DPADD+= ${LIBBZ2}
.endif
.if empty(HOST_CPPFLAGS:M*-DWITHOUT_NLS*)