From owner-freebsd-desktop@freebsd.org Mon Apr 23 15:19:28 2018 Return-Path: Delivered-To: freebsd-desktop@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 B3105FA4159; Mon, 23 Apr 2018 15:19:28 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-vk0-x22f.google.com (mail-vk0-x22f.google.com [IPv6:2607:f8b0:400c:c05::22f]) (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 4431376385; Mon, 23 Apr 2018 15:19:28 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-vk0-x22f.google.com with SMTP id g83so6742408vkc.6; Mon, 23 Apr 2018 08:19:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=NeLQuh/WLHM/DyEv6+sKc+CjtjYpa4nlCApF+re+3IQ=; b=nr3SCuyMjQQJtZIc8PsyUyo53HhanlVq48RvmRh+aDhBJAf6WOrVdHgXzYDmGF75vD J9r9HLpHcRdNt+d+s86dZPlggoF3HGnsBINn2BSSGaYqlLTZ1S9jl7MhGo/ZqW4DPhoH OM5+67UFM0R/N4pX5Ue3PP33ZcqwLz3Nk1jBIJHJ+CqkZEdqdX7nvufh8xIcUPbO3lVK nTWLxqGn/42894AHF+PIekWK1SIm9drTr1ZRo5By5PRUnNCCYIOWhXnSyRXsbguEuXVh A4+MkO3Fg1bZ6Ni2ueREmQt0cwHX4cc4AAKnggBRtET14o2sIKyKXHRuePV4FlVWIiug Y/ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=NeLQuh/WLHM/DyEv6+sKc+CjtjYpa4nlCApF+re+3IQ=; b=NBS/NjIq0BRoilGmgf0N+AqlDbjkVrzKcaD0eMOQ9ZRmcLiKOtNutWAm+/FIpIxQuN urzIHT7truT5f/K2WBKJAvwf5iubj33D4G1TwV70xt/Tmeskkzobqo8yeHvc2lkdFeus NAALjWA6Fv9wxsBaFHAOCdxrTM2miLAJvz7NEavH8KtBGr1jxtegEI+/vH+QEpEIDzpT i8zB1F1E7yDPUob3d01TcQ/uHVG4oksvxKvJvlf3rtb+s04tfOGCnxqxqm3KNLtgwSsf 7/S4mf/1CssqItxF9GSFYinM2FUVYgLyVrFdTzKXGFTqVxYiCeElQVFqdUrXViiAvLzc 6dqQ== X-Gm-Message-State: ALQs6tBkdHcHHDvutaLqpfkHH2xmz4vjYTkmB70Ise4L2szyyARGdPMi mLfY0OEzm12UQvV5rzWDD9Yj3MzFjnluYw+vsg3Rrxzw X-Google-Smtp-Source: AIpwx4+/dHqTH8K+MMbuRni54O7qzYr8Neu9ixls5EqZYhNCsA7kc1ees9zQcu6dCgDkMEvGo8X3QeCcvp33SRpjC/4= X-Received: by 10.31.162.5 with SMTP id l5mr13483943vke.155.1524496766780; Mon, 23 Apr 2018 08:19:26 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.81.15 with HTTP; Mon, 23 Apr 2018 08:19:25 -0700 (PDT) In-Reply-To: <20180423105326.63b32e2b@oxy> References: <20180423090033.70a5ed85@freyja.zeit4.iv.bundesimmobilien.de> <20180423105326.63b32e2b@oxy> From: Kevin Oberman Date: Mon, 23 Apr 2018 08:19:25 -0700 X-Google-Sender-Auth: EHkMt9-OSIbVIp1FnU0cgWA0fos Message-ID: Subject: Re: Nvidia issue with CURRENT To: Mateusz Piotrowski <0mp@freebsd.org> Cc: "O. Hartmann" , Mariusz Zaborski , Tommi Pernila , FreeBSD Current , freebsd-desktop@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 15:19:28 -0000 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. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683