Hi,

While building system with YP=no set in mk.conf
I have found a bug: ypldap depends on yp in libc.

The fix below. 

-- 
Dinar Talypov <di...@yantel.ru>


Index: Makefile
===================================================================
RCS file: /cvs/src/usr.sbin/Makefile,v
retrieving revision 1.153
diff -u -r1.153 Makefile
--- Makefile    24 Sep 2010 13:05:00 -0000      1.153
+++ Makefile    9 Feb 2011 07:46:38 -0000
@@ -16,14 +16,14 @@
        sa sasyncd sensorsd sliplogin slstats smtpd snmpctl snmpd spamdb \
        spray syslogc syslogd sysmerge tcpdrop tcpdump timed tokenadm \
        tokeninit traceroute traceroute6 trpt usbdevs user vipw watchdogd \
-       wsconscfg wsfontload wsmoused ypldap zdump zic ztsscale
+       wsconscfg wsfontload wsmoused zdump zic ztsscale

 .if (${AFS:L} == "yes")
 SUBDIR+=afs
 .endif

 .if (${YP:L} == "yes")
-SUBDIR+=ypbind yppoll ypset ypserv
+SUBDIR+=ypldap ypbind yppoll ypset ypserv
 .endif

 .include <bsd.subdir.mk>

Reply via email to