summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/groff/pic
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-12-01 09:39:28 +0000
committerobrien <obrien@FreeBSD.org>2000-12-01 09:39:28 +0000
commitcafb2a0daa952ef4a9f04e3ba3e8ab940a51ee68 (patch)
treebf9398e3cc9469cabb5ad72a85bacda3b33f6e34 /gnu/usr.bin/groff/pic
parentf5e9caf11e6f5f34714ba30c65368b7185a6cf6a (diff)
downloadFreeBSD-src-cafb2a0daa952ef4a9f04e3ba3e8ab940a51ee68.zip
FreeBSD-src-cafb2a0daa952ef4a9f04e3ba3e8ab940a51ee68.tar.gz
The GCC 2.96 snapshots have slightly different rules for finding include
files. Mostly -I${.CURDIR} was needed -- especially for YACC generated files as the new cpp does not look in the ultimate source file (ie, the .y file)'s directory as told by the "#line" directive. Some were misspellings of "-I${.CURDIR}" as "-I.".
Diffstat (limited to 'gnu/usr.bin/groff/pic')
-rw-r--r--gnu/usr.bin/groff/pic/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/groff/pic/Makefile b/gnu/usr.bin/groff/pic/Makefile
index de80054..bb799a3 100644
--- a/gnu/usr.bin/groff/pic/Makefile
+++ b/gnu/usr.bin/groff/pic/Makefile
@@ -3,7 +3,6 @@
PROG= pic
SRCS= lex.cc main.cc object.cc pic.cc pic.tab.h \
common.cc troff.cc tex.cc
-CFLAGS+= -I.
DPADD= ${LIBGROFF} ${LIBM}
LDADD= ${LIBGROFF} -lm
CLEANFILES= ${MAN1} pic.cc pic.tab.h y.tab.c y.tab.h
@@ -12,3 +11,5 @@ pic.tab.h: pic.cc
.include "../Makefile.cfg"
.include <bsd.prog.mk>
+
+INCLUDES+= -I${DIST_DIR} -I.
OpenPOWER on IntegriCloud