From owner-svn-src-all@FreeBSD.ORG Thu Oct 27 19:18:54 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C651A1065675; Thu, 27 Oct 2011 19:18:54 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B58658FC15; Thu, 27 Oct 2011 19:18:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p9RJIsU6021122; Thu, 27 Oct 2011 19:18:54 GMT (envelope-from gabor@svn.freebsd.org) Received: (from gabor@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p9RJIsQ8021120; Thu, 27 Oct 2011 19:18:54 GMT (envelope-from gabor@svn.freebsd.org) Message-Id: <201110271918.p9RJIsQ8021120@svn.freebsd.org> From: Gabor Kovesdan Date: Thu, 27 Oct 2011 19:18:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r226853 - stable/9/usr.bin/grep X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 27 Oct 2011 19:18:54 -0000 Author: gabor Date: Thu Oct 27 19:18:54 2011 New Revision: 226853 URL: http://svn.freebsd.org/changeset/base/226853 Log: MFC r226664: - Install BSD grep properly, based on the value of WITH_BSD_GREP Approved by: re (kib) Modified: stable/9/usr.bin/grep/Makefile Directory Properties: stable/9/usr.bin/grep/ (props changed) Modified: stable/9/usr.bin/grep/Makefile ============================================================================== --- stable/9/usr.bin/grep/Makefile Thu Oct 27 18:49:16 2011 (r226852) +++ stable/9/usr.bin/grep/Makefile Thu Oct 27 19:18:54 2011 (r226853) @@ -53,12 +53,14 @@ DPADD= ${LIBZ} ${LIBLZMA} LDADD+= -lbz2 DPADD+= ${LIBBZ2} +.if ${MK_BSD_GREP} == "yes" LINKS+= ${BINDIR}/grep ${BINDIR}/bzgrep \ ${BINDIR}/grep ${BINDIR}/bzegrep \ ${BINDIR}/grep ${BINDIR}/bzfgrep MLINKS+= grep.1 bzgrep.1 \ grep.1 bzegrep.1 \ grep.1 bzfgrep.1 +.endif .else CFLAGS+= -DWITHOUT_BZIP2 .endif