summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/bc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/bc/Makefile b/gnu/usr.bin/bc/Makefile
index cb86035..448c1ae 100644
--- a/gnu/usr.bin/bc/Makefile
+++ b/gnu/usr.bin/bc/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 1998/04/29 22:05:23 andreas Exp $
+# $Id: Makefile,v 1.7 1998/04/30 07:50:49 ache Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -18,8 +18,12 @@ YACC= bison -y
CFLAGS+= -DHAVE_VPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_ISGRAPH=1 \
-DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_STDDEF_H=1 \
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 \
+ -DREADLINE=1 \
-I${.CURDIR}/../../../contrib/bc/h -I${.CURDIR}
CLEANFILES+= ${GENSRCS} y.tab.h
+DPADD+= ${LIBREADLINE}
+LDADD+= -lreadline
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud