Date: Fri, 9 May 2014 14:36:01 +0300 From: Guy Yur <guyyur@gmail.com> To: Warner Losh <imp@bsdimp.com> Cc: freebsd-current@freebsd.org Subject: Re: WITHOUT_NIS after bsd.opts.mk / src.opts.mk split Message-ID: <CAC67Hz-Kuhs24mYu-z1cRtDLirR4qvJ_D8rgOn1kYEFzC_f2Ug@mail.gmail.com> In-Reply-To: <1A74E775-B873-44E1-8323-D3C292A3D02E@bsdimp.com> References: <CAC67Hz_TLidKJfg1McqgqGKyOHcpE%2BuhHPHWWiEynpD9YrFV7w@mail.gmail.com> <1A74E775-B873-44E1-8323-D3C292A3D02E@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Fri, May 9, 2014 at 2:54 AM, Warner Losh <imp@bsdimp.com> wrote: > > On May 8, 2014, at 3:26 PM, Guy Yur <guyyur@gmail.com> wrote: > >> Hi, >> >> After the bsd.opts.mk / src.opts.mk split >> WITHOUT_NIS in src.conf doesn't work. > > It should still work=E2=80=A6 At least that=E2=80=99s the intention... > >> src.conf is included in src.opts.mk after bsd.own.mk >> which includes bsd.opts.mk. > > Yea, that=E2=80=99s a problem=E2=80=A6 It should be included after. Your fix worked for me. Another issue that is probably very uncommon so I don't know if anything should be done about it: WITHOUT_NIS, WITHOUT_KERBEROS and WITHOUT_OPENSSH also affect bsd.libnames.mk definition of LIBPAM and MINUSLPAM in case you build programs with bsd make outside of /usr/src that use LIBPAM/MINUSLPAM and have NO_SHARED / LDFLAGS+=3D-static. The addition of ${LIBYPCLNT} / -lypclnt to LDFLAGS will fail to link if wor= ld was installed without NIS. A brief look in the ports tree doesn't show any program that does this. Thanks, Guy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC67Hz-Kuhs24mYu-z1cRtDLirR4qvJ_D8rgOn1kYEFzC_f2Ug>