summaryrefslogtreecommitdiff
path: root/usr.bin/bc/Makefile
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2011-03-07 08:11:16 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2011-03-07 08:11:16 +0000
commit88df5224b893792a08287f595b31c2757fc6feec (patch)
tree39cdfdb056c4e9f6741a6e766705123df51d9c23 /usr.bin/bc/Makefile
parent8bb63358ad45727465dc6af2e3781463e5d46e84 (diff)
add editline support; from freebsd. ok deraadt@
Diffstat (limited to 'usr.bin/bc/Makefile')
-rw-r--r--usr.bin/bc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/bc/Makefile b/usr.bin/bc/Makefile
index dfe79fc1986..bc8b937791a 100644
--- a/usr.bin/bc/Makefile
+++ b/usr.bin/bc/Makefile
@@ -1,10 +1,13 @@
-# $OpenBSD: Makefile,v 1.5 2010/10/17 22:54:37 schwarze Exp $
+# $OpenBSD: Makefile,v 1.6 2011/03/07 08:11:15 otto Exp $
PROG= bc
SRCS= bc.y scan.l
CPPFLAGS+= -I. -I${.CURDIR}
CFLAGS+= -Wall -Wno-unused
YFLAGS+=
+LDADD+= -ledit -lcurses
+DPADD+= ${LIBEDIT} ${LIBCURSES}
+
beforeinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/bc.library \