svn commit: r226664 - head/usr.bin/grep

Gabor Kovesdan gabor at FreeBSD.org
Sun Oct 23 16:04:07 UTC 2011


Author: gabor
Date: Sun Oct 23 16:04:07 2011
New Revision: 226664
URL: http://svn.freebsd.org/changeset/base/226664

Log:
  - Fix installation when WITH_BSD_GREP is set to yes
  
  Submitted by:	Aleksandr Rybalko <ray at ddteam.net>

Modified:
  head/usr.bin/grep/Makefile

Modified: head/usr.bin/grep/Makefile
==============================================================================
--- head/usr.bin/grep/Makefile	Sun Oct 23 15:15:17 2011	(r226663)
+++ head/usr.bin/grep/Makefile	Sun Oct 23 16:04:07 2011	(r226664)
@@ -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


More information about the svn-src-head mailing list