Author: marcel
Date: Tue May 21 17:30:27 2013
New Revision: 250861
URL: http://svnweb.freebsd.org/changeset/base/250861

Log:
  Don't look for headers outside of the source or object directories. In
  particular, don't use DESTDIR. Such creates an unnecessary dependency
  on the build machine.
  
  Obtained from:  Juniper Networks, Inc.

Modified:
  head/gnu/usr.bin/grep/Makefile

Modified: head/gnu/usr.bin/grep/Makefile
==============================================================================
--- head/gnu/usr.bin/grep/Makefile      Tue May 21 17:28:19 2013        
(r250860)
+++ head/gnu/usr.bin/grep/Makefile      Tue May 21 17:30:27 2013        
(r250861)
@@ -13,7 +13,7 @@ SRCS= closeout.c dfa.c error.c exclude.c
        isdir.c kwset.c obstack.c quotearg.c savedir.c search.c xmalloc.c \
        xstrtoumax.c
 
-CFLAGS+=-I${.CURDIR} -I${DESTDIR}/usr/include/gnu -DHAVE_CONFIG_H
+CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../lib/libregex -DHAVE_CONFIG_H
 
 .if ${MK_BSD_GREP} != "yes"
 LINKS+=        ${BINDIR}/grep ${BINDIR}/egrep \
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to