summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2013-05-21 17:28:19 +0000
committermarcel <marcel@FreeBSD.org>2013-05-21 17:28:19 +0000
commit08ee50ef4a17f0cbaab611ee090872e797cc208f (patch)
treec5cd6cc592fcaa9e770d49f30c0f378a8668ce35 /gnu
parent6443ec0dc91014e94ae09bb7902de5677f340a81 (diff)
downloadFreeBSD-src-08ee50ef4a17f0cbaab611ee090872e797cc208f.zip
FreeBSD-src-08ee50ef4a17f0cbaab611ee090872e797cc208f.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/diff/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/diff/Makefile b/gnu/usr.bin/diff/Makefile
index a5ceb17..06500b1 100644
--- a/gnu/usr.bin/diff/Makefile
+++ b/gnu/usr.bin/diff/Makefile
@@ -17,10 +17,10 @@ CFLAGS+=-funsigned-char
CFLAGS+=-DHAVE_CONFIG_H
CFLAGS+=-DPR_PROGRAM=\"/usr/bin/pr\"
-CFLAGS+=-I${DESTDIR}/usr/include/gnu
CFLAGS+=-I${.CURDIR}/../../../contrib/diff
CFLAGS+=-I${.CURDIR}/../../../contrib/diff/src
CFLAGS+=-I${.CURDIR}/../../../contrib/diff/lib
+CFLAGS+=-I${.CURDIR}/../../lib/libregex
SUBDIR+=doc
OpenPOWER on IntegriCloud