summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/bc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-16 20:45:01 +0000
committerobrien <obrien@FreeBSD.org>2002-03-16 20:45:01 +0000
commitadb0b230b18951ca773d599ce18deebc8daa7347 (patch)
tree0e45eea94e343d4c590e26d1a5d9cf120b18d961 /gnu/usr.bin/bc
parent2442cd30751fb9dfeaa97e0f49165527858b75b8 (diff)
downloadFreeBSD-src-adb0b230b18951ca773d599ce18deebc8daa7347.zip
FreeBSD-src-adb0b230b18951ca773d599ce18deebc8daa7347.tar.gz
GCC 3.1's cpp no longer searches for includes using hints from #line.
Diffstat (limited to 'gnu/usr.bin/bc')
-rw-r--r--gnu/usr.bin/bc/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/usr.bin/bc/Makefile b/gnu/usr.bin/bc/Makefile
index a1bbb23..fcf0fd0 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
OpenPOWER on IntegriCloud