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 <[email protected]>

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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to