summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-01-01 09:51:46 +0000
committerbde <bde@FreeBSD.org>1999-01-01 09:51:46 +0000
commit84d6a9ea2a1d6d46deeb6daf5fc1c3f5e747166b (patch)
tree0b3ab3587baff25b5512d9aa03ba40b3596540df /usr.sbin
parent93627b2d8230dae92042c4e49e1d0ef5c7f2d083 (diff)
downloadFreeBSD-src-84d6a9ea2a1d6d46deeb6daf5fc1c3f5e747166b.zip
FreeBSD-src-84d6a9ea2a1d6d46deeb6daf5fc1c3f5e747166b.tar.gz
Fixed a missing library and style bugs in LDADD. Static linkage was broken.
Fixed missing DPADD. Fixed placement of the include of bsd.prog.mk. It annulled `make checkdpadd', which should have been run to find the broken DPADD.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/i4b/isdnd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/i4b/isdnd/Makefile b/usr.sbin/i4b/isdnd/Makefile
index 2bda2bb..37d3471 100644
--- a/usr.sbin/i4b/isdnd/Makefile
+++ b/usr.sbin/i4b/isdnd/Makefile
@@ -1,3 +1,4 @@
+# $Id$
PROG = isdnd
@@ -17,11 +18,10 @@ COPTS += -DUSE_RTPRIO
MAN8 = isdnd.8
MAN5 = isdnd.rc.5 isdnd.rates.5 isdnd.acct.5
-.include <bsd.prog.mk>
-
.if !defined(I4B_WITHOUT_CURSES)
COPTS += -DUSE_CURSES
-LDADD += -lcurses
+DPADD = ${LIBCURSES} ${LIBTERMCAP}
+LDADD = -lcurses -ltermcap
.endif
.if defined(I4B_EXTERNAL_MONITOR)
@@ -30,3 +30,5 @@ COPTS += -DI4B_EXTERNAL_MONITOR
COPTS += -DI4B_NOTCPIP_MONITOR
.endif
.endif
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud