aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-06-19 20:47:24 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-06-19 20:47:24 +0000
commitc99b67a7947ea215f9c1d44ec022680e98920cd1 (patch)
treeb651dbc9948db013cc06944c3c063e0d1309dc05 /gnu
parent212e02c8360c9ec101759e2dead7dbc99cfddf67 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/grep/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile
index 93c7324ea863d..e8d6dd8ba4b55 100644
--- a/gnu/usr.bin/grep/Makefile
+++ b/gnu/usr.bin/grep/Makefile
@@ -14,7 +14,7 @@ SRCS= closeout.c dfa.c error.c exclude.c grep.c grepmat.c hard-locale.c \
xstrtoumax.c
CLEANFILES+= gnugrep.1
-CFLAGS+=-I${.CURDIR} -I${DESTDIR}/usr/include/gnu -DHAVE_CONFIG_H
+CFLAGS+=-I${.CURDIR} -I${SYSROOT:U${DESTDIR}}/usr/include/gnu -DHAVE_CONFIG_H
.if ${MK_BSD_GREP} != "yes"
LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \