From owner-freebsd-current@FreeBSD.ORG Fri May 9 11:36:03 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78D64E27 for ; Fri, 9 May 2014 11:36:03 +0000 (UTC) Received: from mail-yk0-x232.google.com (mail-yk0-x232.google.com [IPv6:2607:f8b0:4002:c07::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3E4E7A41 for ; Fri, 9 May 2014 11:36:03 +0000 (UTC) Received: by mail-yk0-f178.google.com with SMTP id 20so3345357yks.9 for ; Fri, 09 May 2014 04:36:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=S+Pf2dyT62eamVIBRuQAutGamGOZw4biyR2l0ru/if4=; b=N0+MslcW0w+YoqW2BgpIpMufbIitF53BpymMKkZVbzkL1/hDvj5Z1TWudLMq2H+IGM 4Lyf6hYIpmxqvf3eXrD07IUa0EPqiyDw7tPNk2dnj7MnNRDAOuZU28D6byIkwfaz205J n43fIx8o7D1p+BgMDrKOQjqOX8n/8O9ctt1xmgVVKHPdyhdcJ5ttu8Ug6iB4ZHM03q0E ZWk7Ew/y2wG4KNlUW9MIlNW/5gAUi90Zh9cEJIp9htNqy7kCl3XmzgbkK/bkS3iyh2rG 0xznvy3yg35V9GyMrpijmhl07gT6WUtst/NQjV0oUbwrCB/ti8pjFWGbvY6rw88S6OhQ 4Wng== MIME-Version: 1.0 X-Received: by 10.236.94.197 with SMTP id n45mr14186417yhf.46.1399635361929; Fri, 09 May 2014 04:36:01 -0700 (PDT) Received: by 10.170.130.198 with HTTP; Fri, 9 May 2014 04:36:01 -0700 (PDT) In-Reply-To: <1A74E775-B873-44E1-8323-D3C292A3D02E@bsdimp.com> References: <1A74E775-B873-44E1-8323-D3C292A3D02E@bsdimp.com> Date: Fri, 9 May 2014 14:36:01 +0300 Message-ID: Subject: Re: WITHOUT_NIS after bsd.opts.mk / src.opts.mk split From: Guy Yur To: Warner Losh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2014 11:36:03 -0000 Hi, On Fri, May 9, 2014 at 2:54 AM, Warner Losh wrote: > > On May 8, 2014, at 3:26 PM, Guy Yur 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