diff options
author | marcel <marcel@FreeBSD.org> | 2013-05-21 17:30:27 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2013-05-21 17:30:27 +0000 |
commit | 120b82d3686f29fcbe3217c7bb745c8773fe2f58 (patch) | |
tree | c3cb0d2c755f35f2d41aac1ca767f9a0b1851ac3 /gnu | |
parent | 08ee50ef4a17f0cbaab611ee090872e797cc208f (diff) | |
download | FreeBSD-src-120b82d3686f29fcbe3217c7bb745c8773fe2f58.zip FreeBSD-src-120b82d3686f29fcbe3217c7bb745c8773fe2f58.tar.gz |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/grep/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile index 7d3b607..d4da881 100644 --- a/gnu/usr.bin/grep/Makefile +++ b/gnu/usr.bin/grep/Makefile @@ -13,7 +13,7 @@ SRCS= closeout.c dfa.c error.c exclude.c grep.c grepmat.c hard-locale.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 \ |