From 56fe559c91b8b1b73d23b28015213277835e29b1 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 16 Mar 2002 20:45:01 +0000 Subject: [PATCH] GCC 3.1's cpp no longer searches for includes using hints from #line. --- gnu/usr.bin/bc/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/usr.bin/bc/Makefile b/gnu/usr.bin/bc/Makefile index a1bbb238e89b..fcf0fd049fc1 100644 --- a/gnu/usr.bin/bc/Makefile +++ b/gnu/usr.bin/bc/Makefile @@ -1,14 +1,13 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../contrib/bc/bc \ - ${.CURDIR}/../../../contrib/bc/lib \ - ${.CURDIR}/../../../contrib/bc/doc \ - ${.CURDIR}/../../../contrib/bc/Examples +BCDIR= ${.CURDIR}/../../../contrib/bc +.PATH: ${BCDIR}/bc ${BCDIR}/lib ${BCDIR}/doc ${BCDIR}/Examples PROG= bc SRCS= bc.y execute.c global.c load.c main.c scan.l storage.c util.c \ number.c getopt.c getopt1.c -CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../../contrib/bc/h -DHAVE_CONFIG_H +CFLAGS+=-I. -I${.CURDIR} -I${BCDIR}/h -I${BCDIR}/bc +CFLAGS+=-DHAVE_CONFIG_H DPADD= ${LIBREADLINE} ${LIBTERMCAP} LDADD= -lreadline -ltermcap