svn commit: r284173 - projects/bmake/usr.bin/grep

Simon J. Gerraty sjg at FreeBSD.org
Mon Jun 8 23:37:18 UTC 2015


Author: sjg
Date: Mon Jun  8 23:37:17 2015
New Revision: 284173
URL: https://svnweb.freebsd.org/changeset/base/284173

Log:
  Avoid bogus MLINKS when MK_LZMA_SUPPORT=yes and MK_BSD_GREP=no

Modified:
  projects/bmake/usr.bin/grep/Makefile

Modified: projects/bmake/usr.bin/grep/Makefile
==============================================================================
--- projects/bmake/usr.bin/grep/Makefile	Mon Jun  8 23:35:17 2015	(r284172)
+++ projects/bmake/usr.bin/grep/Makefile	Mon Jun  8 23:37:17 2015	(r284173)
@@ -39,6 +39,7 @@ LIBADD=	z
 .if ${MK_LZMA_SUPPORT} != "no"
 LIBADD+=	lzma
 
+.if ${MK_BSD_GREP} == "yes"
 LINKS+=	${BINDIR}/${PROG} ${BINDIR}/xzgrep \
 	${BINDIR}/${PROG} ${BINDIR}/xzegrep \
 	${BINDIR}/${PROG} ${BINDIR}/xzfgrep \
@@ -52,6 +53,7 @@ MLINKS+= grep.1 xzgrep.1 \
 	 grep.1 lzgrep.1 \
 	 grep.1 lzegrep.1 \
 	 grep.1 lzfgrep.1
+.endif
 .else
 CFLAGS+= -DWITHOUT_LZMA
 .endif


More information about the svn-src-projects mailing list