From owner-freebsd-current@freebsd.org Mon Apr 23 22:53:22 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21623FAD4B9; Mon, 23 Apr 2018 22:53:22 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63E2C7C745; Mon, 23 Apr 2018 22:53:21 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lf0-f51.google.com with SMTP id d20-v6so17393687lfe.3; Mon, 23 Apr 2018 15:53:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IhvOTZPGbhtV0L82TfYSfvwcL0+QdY+OniABJp34Bp4=; b=GZinFJB3qQ3mWHpBLPJONGXQgqtmzgvtUyDK0/myCOjE1gxI5RZ+gYX1MHXSs5vyOB sKVsVEEXHx4H8TQUR2n/uFEO0s5x1W4Bglc68VunCXfAxCSJcufacYhwU4XRwggKD2ZA nD7n9L/Rwh645Dh8NHsw60c5z/pwM2w46eRq6AqJBADt7KGDs/HQnT+07Wm72heowU1a 5FaG3yPU9x8MXv1CUJrRUG+e9jFm2xfqXiTH0tjdtlDImQ4wQP6b/9HqaJ0ooMfjQ93L 8oJnGw+sFc6AAB8LxuUr9MTzL+K/bRfpefePojdbZdxOxC8BND4PBLNbOV8dZ/dm0wNz xwpA== X-Gm-Message-State: ALQs6tBqw6tY3040fj/QzuH+LGgh1THYPAbXR0RT7TntKfFqcZ+QoMlu u8zHZsCSu8UPN2X3+4IrVVo= X-Google-Smtp-Source: AB8JxZr1akirZbusPny4S7PeWCb/544/YbpM1BLJNvVmAKjdtxXd8/tH2fKSQqy3yQG555yLbcRkYA== X-Received: by 10.46.27.82 with SMTP id b79mr2365354ljb.134.1524523994067; Mon, 23 Apr 2018 15:53:14 -0700 (PDT) Received: from oxy (89-76-8-18.dynamic.chello.pl. [89.76.8.18]) by smtp.gmail.com with ESMTPSA id j85-v6sm2992380lfh.5.2018.04.23.15.53.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Apr 2018 15:53:13 -0700 (PDT) Date: Tue, 24 Apr 2018 00:54:07 +0200 From: Mateusz Piotrowski <0mp@FreeBSD.org> To: Kevin Oberman Cc: "O. Hartmann" , Mariusz Zaborski , Tommi Pernila , FreeBSD Current , freebsd-desktop@freebsd.org Subject: Re: Nvidia issue with CURRENT Message-ID: <20180424005407.473fd145@oxy> In-Reply-To: References: <20180423090033.70a5ed85@freyja.zeit4.iv.bundesimmobilien.de> <20180423105326.63b32e2b@oxy> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 23 Apr 2018 22:53:22 -0000 On Mon, 23 Apr 2018 08:19:25 -0700 Kevin Oberman wrote: >On Mon, Apr 23, 2018 at 1:53 AM, Mateusz Piotrowski <0mp@freebsd.org> >wrote: > >> On Mon, 23 Apr 2018 09:00:33 +0200 >> "O. Hartmann" wrote: >> >> >In /etc/src.conf , therefore you should add something similar to >> >(like I added to mine): >> > >> >PORTS_MODULES= >> >PORTS_MODULES+= x11/nvidia-driver >> >PORTS_MODULES+= >> >emulators/virtualbox-ose-kmod >> >> Shouldn't it go into make.conf(5)? That's what the manual suggests. >> > >Ans the man page should be fixed. By putting it into make.conf, it >pollutes the environment of ever make(1) run on the system. (Yes, >unlikely to ever cause a problem,) > >In src.conf it only impacts the builds of the system and ports. This >is why src.conf was created a few years ago. In fact, it was >originally supposed to only impact the build of the system, but the >ports Mk files were modified to pull it in, to, much to my annoyance. >I liked being able to modify compile options just for the system >without them breaking ports builds. > >Simple rule... any definition used by make(1) only for system builds >belongs in /etc/sec.conf. Done, I've added this information to make.conf(5). Now it's waiting for a review. https://reviews.freebsd.org/D15177 Thanks! Mateusz