From 9ac6b2587868eaeb9c688f9cfb39a93b1de7720c Mon Sep 17 00:00:00 2001 From: jkim Date: Thu, 6 Jun 2013 11:59:38 +0000 Subject: Adjust CFLAGS to pick up correct regex.h and posix/regex.h. Note this actually reverts r250860 and r250861. Reported by: gjb, tinderbox --- usr.bin/grep/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/grep') 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 -- cgit v1.1