From owner-svn-src-all@FreeBSD.ORG Fri Apr 10 21:24:40 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76A0D3A9; Fri, 10 Apr 2015 21:24:40 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48F169A7; Fri, 10 Apr 2015 21:24:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3ALOeTC046987; Fri, 10 Apr 2015 21:24:40 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3ALOdMd046982; Fri, 10 Apr 2015 21:24:39 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201504102124.t3ALOdMd046982@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Fri, 10 Apr 2015 21:24:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281384 - in head: share/mk usr.sbin/fifolog/fifolog_reader usr.sbin/fifolog/fifolog_writer X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 21:24:40 -0000 Author: emaste Date: Fri Apr 10 21:24:38 2015 New Revision: 281384 URL: https://svnweb.freebsd.org/changeset/base/281384 Log: Fix libfifolog dependency on libz Consumers should not need to encode fifolog's dependency on libz. Handle it automatically in src.libnames.mk. Differential Revision: https://reviews.freebsd.org/D2278 Reviewed by: bapt Sponsored by: The FreeBSD Foundation Modified: head/share/mk/src.libnames.mk head/usr.sbin/fifolog/fifolog_reader/Makefile head/usr.sbin/fifolog/fifolog_writer/Makefile Modified: head/share/mk/src.libnames.mk ============================================================================== --- head/share/mk/src.libnames.mk Fri Apr 10 20:55:17 2015 (r281383) +++ head/share/mk/src.libnames.mk Fri Apr 10 21:24:38 2015 (r281384) @@ -259,6 +259,9 @@ LDADD_sqlite3+= ${LDADD_pthread} DPADD_atf_cxx+= ${DPADD_atf_c} LDADD_atf_cxx+= ${LDADD_atf_c} +DPADD_fifolog+= ${DPADD_z} +LDADD_fifolog+= ${LDADD_z} + DPADD_ipf+= ${DPADD_kvm} LDADD_ipf+= ${LDADD_kvm} Modified: head/usr.sbin/fifolog/fifolog_reader/Makefile ============================================================================== --- head/usr.sbin/fifolog/fifolog_reader/Makefile Fri Apr 10 20:55:17 2015 (r281383) +++ head/usr.sbin/fifolog/fifolog_reader/Makefile Fri Apr 10 21:24:38 2015 (r281384) @@ -6,7 +6,7 @@ CFLAGS+= -I${.CURDIR}/../lib MAN= -LIBADD= z fifolog +LIBADD= fifolog regress: ./${PROG} /tmp/fifolog.0 Modified: head/usr.sbin/fifolog/fifolog_writer/Makefile ============================================================================== --- head/usr.sbin/fifolog/fifolog_writer/Makefile Fri Apr 10 20:55:17 2015 (r281383) +++ head/usr.sbin/fifolog/fifolog_writer/Makefile Fri Apr 10 21:24:38 2015 (r281384) @@ -6,7 +6,7 @@ CFLAGS+= -I${.CURDIR}/../lib MAN= -LIBADD= z fifolog +LIBADD= fifolog regress: date | ./${PROG} -z 0 /tmp/fifolog.0