summaryrefslogtreecommitdiffstats
path: root/usr.bin/ypwhich
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-09-09 15:33:18 +0000
committerderaadt <deraadt@openbsd.org>2015-09-09 15:33:18 +0000
commitd1a23ca2a7534eb2aa901c231129963c273a08c9 (patch)
tree44fa49c7d9a53d82364e7aed491fdc501b9fb94d /usr.bin/ypwhich
parentIn the flag command description, mention that a bootable partition (diff)
downloadwireguard-openbsd-d1a23ca2a7534eb2aa901c231129963c273a08c9.tar.xz
wireguard-openbsd-d1a23ca2a7534eb2aa901c231129963c273a08c9.zip
Hide YP-specific xdr_* functions, and have the YP tools link -lrpcsvc
as needed. ok miod guenther
Diffstat (limited to 'usr.bin/ypwhich')
-rw-r--r--usr.bin/ypwhich/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ypwhich/Makefile b/usr.bin/ypwhich/Makefile
index e138ba4a0b2..91837e38705 100644
--- a/usr.bin/ypwhich/Makefile
+++ b/usr.bin/ypwhich/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 1999/03/20 15:36:12 maja Exp $
+# $OpenBSD: Makefile,v 1.7 2015/09/09 15:33:18 deraadt Exp $
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
PROG= ypwhich
@@ -8,4 +8,7 @@ MAN= ypwhich.1
.PATH: ${.CURDIR}/../../usr.sbin/ypserv/common
CFLAGS+=-I${.CURDIR}/../../usr.sbin/ypserv/common
+LDADD=-lrpcsvc
+DPADD=${LIBRPCSVC}
+
.include <bsd.prog.mk>