summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/grep/Makefile')
-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