summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-06-06 11:59:38 +0000
committerjkim <jkim@FreeBSD.org>2013-06-06 11:59:38 +0000
commit9ac6b2587868eaeb9c688f9cfb39a93b1de7720c (patch)
treeb0ddd2962169588c122792af6d763899235a76db /usr.bin/grep
parente60ab9c72d61f9ec88a4887e299551d7c3234907 (diff)
downloadFreeBSD-src-9ac6b2587868eaeb9c688f9cfb39a93b1de7720c.zip
FreeBSD-src-9ac6b2587868eaeb9c688f9cfb39a93b1de7720c.tar.gz
Adjust CFLAGS to pick up correct regex.h and posix/regex.h. Note this
actually reverts r250860 and r250861. Reported by: gjb, tinderbox
Diffstat (limited to 'usr.bin/grep')
-rw-r--r--usr.bin/grep/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile
index 359954b..8b2fa0c 100644
--- a/usr.bin/grep/Makefile
+++ b/usr.bin/grep/Makefile
@@ -74,7 +74,7 @@ CFLAGS+= -DWITHOUT_BZIP2
.endif
.if !defined(WITHOUT_GNU_COMPAT)
-CFLAGS+= -I/usr/include/gnu
+CFLAGS+= -I${DESTDIR}/usr/include/gnu
LDADD+= -lgnuregex
DPADD+= ${LIBGNUREGEX}
.endif
OpenPOWER on IntegriCloud