summaryrefslogtreecommitdiff
path: root/usr.sbin/ypldap
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-09-09 15:33:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-09-09 15:33:19 +0000
commita735cf56e7d9c4bc40eb151c490f994f44dae78d (patch)
tree0f916fb11a2f53d760af9b078cd2d893e7ef5b9b /usr.sbin/ypldap
parent3174858e978879a9200a6f2cd8bd68cdd8f08d5e (diff)
Hide YP-specific xdr_* functions, and have the YP tools link -lrpcsvc
as needed. ok miod guenther
Diffstat (limited to 'usr.sbin/ypldap')
-rw-r--r--usr.sbin/ypldap/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypldap/Makefile b/usr.sbin/ypldap/Makefile
index b2afa30d412..6339334c159 100644
--- a/usr.sbin/ypldap/Makefile
+++ b/usr.sbin/ypldap/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2014/01/18 05:54:52 martynas Exp $
+# $OpenBSD: Makefile,v 1.8 2015/09/09 15:33:18 deraadt Exp $
PROG= ypldap
SRCS= parse.y ypldap.c log.c \
@@ -8,8 +8,8 @@ SRCS= parse.y ypldap.c log.c \
MAN= ypldap.8 ypldap.conf.5
-DPADD= ${LIBEVENT} ${LIBUTIL}
-LDADD= -levent -lutil
+DPADD= ${LIBEVENT} ${LIBUTIL} ${LIBRPCSVC}
+LDADD= -levent -lutil -lrpcsvc
CFLAGS+= -I${.CURDIR}
CFLAGS+= -Wall
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes