YP=no in mk.conf and ypldap

2011-02-09 Thread Dinar Talypov
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
--- Makefile24 Sep 2010 13:05:00 -  1.153
+++ Makefile9 Feb 2011 07:46:38 -
@@ -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



Re: YP=no in mk.conf and ypldap

2011-02-09 Thread Ted Unangst
On Wed, Feb 9, 2011 at 3:00 AM, Dinar Talypov di...@yantel.ru wrote:
 While building system with YP=no set in mk.conf
 I have found a bug: ypldap depends on yp in libc.

Thanks, I should be able to commit this later tonight.



Re: YP=no in mk.conf and ypldap

2011-02-09 Thread Jasper Lievisse Adriaanse
On Wed, Feb 09, 2011 at 02:48:54PM -0500, Ted Unangst wrote:
 On Wed, Feb 9, 2011 at 3:00 AM, Dinar Talypov di...@yantel.ru wrote:
  While building system with YP=no set in mk.conf
  I have found a bug: ypldap depends on yp in libc.
 
 Thanks, I should be able to commit this later tonight.
I committed it some hours ago already.

-- 
Cheers,
Jasper

Capable, generous men do not create victims, they nurture them.