Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2013 17:30:28 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250861 - head/gnu/usr.bin/grep
Message-ID:  <201305211730.r4LHUSeJ082035@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305211730.r4LHUSeJ082035>