From owner-freebsd-arch@FreeBSD.ORG Wed Oct 24 17:31:26 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E535C2A0; Wed, 24 Oct 2012 17:31:26 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og125.obsmtp.com (exprod7og125.obsmtp.com [64.18.2.28]) by mx1.freebsd.org (Postfix) with ESMTP id 5C84A8FC16; Wed, 24 Oct 2012 17:31:26 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob125.postini.com ([64.18.6.12]) with SMTP ID DSNKUIgl50Ir/TI5QP5MNzMgBBcdZueXZndj@postini.com; Wed, 24 Oct 2012 10:31:26 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Wed, 24 Oct 2012 10:30:00 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9OHU0h07490; Wed, 24 Oct 2012 10:30:00 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 141CB58094; Wed, 24 Oct 2012 10:30:00 -0700 (PDT) To: Warner Losh Subject: Re: bsd.own.mk - just let WITHOUT_* take precedence In-Reply-To: <18C71853-5C11-4979-BE0D-37E8E4535031@bsdimp.com> References: <20121007001423.9878F58094@chaos.jnpr.net> <20121008154853.GC23400@lor.one-eyed-alien.net> <20121022193903.GA88336@dragon.NUXI.org> <20121024154508.GA93546@lor.one-eyed-alien.net> <20121024161844.E8E5658094@chaos.jnpr.net> <18C71853-5C11-4979-BE0D-37E8E4535031@bsdimp.com> Comments: In-reply-to: Warner Losh message dated "Wed, 24 Oct 2012 11:07:38 -0600." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Wed, 24 Oct 2012 10:30:00 -0700 Message-ID: <20121024173000.141CB58094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain Cc: Brooks Davis , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 17:31:27 -0000 >NO_* is on its way out, so we should likely just fail for the NO_ = >options... In FreeBSD 6.x they were deprecated, so it isn't like there = >hasn't been warning. That's what I thought. >All of the WITH_FOO and WITHOUT_FOO ultimately make it to MK_FOO. = >Anything that's still using NO_FOO should be hastened out of the tree = >quickly... The issue is that buildworld uses -DNO_CTF etc (-DWITHOUT_CTF wouldn't make any difference btw) which causes WITHOUT_CTF to be set, which then causes an error if WITH_CTF is set in the environment. My original proposal was to deal with this by simply letting WITHOUT_* take precedence over WITH_*. The counter proposal was to instead leverage NO_*. >> Would that be a step forwards or backwards? > >I think it would be a step forwards. The question was about undeprecating NO_*, based on your other comments, I guess you mean backwards? Mind you, it can make sense for WITH_, WITHOUT_ and NO_ to coexist. WITH* represent user preferences, whereas NO_* represents inability to support something. Thanks --sjg