From owner-freebsd-questions@freebsd.org Sun Jan 17 06:14:08 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 794A4A850F0 for ; Sun, 17 Jan 2016 06:14:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4270713CE for ; Sun, 17 Jan 2016 06:14:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-101-208.dynamic.qsc.de [92.195.101.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id BD8F23CECA; Sun, 17 Jan 2016 07:07:16 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u0H67FYS003003; Sun, 17 Jan 2016 07:07:16 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 17 Jan 2016 07:07:15 +0100 From: Polytropon To: =?ISO-8859-1?Q?Lu=EDs?= Fernando Schultz Xavier da Silveira Cc: freebsd-questions@freebsd.org Subject: Re: Unexpected dependencies of graphics/libGL Message-Id: <20160117070715.1c33732b.freebsd@edvax.de> In-Reply-To: <20160117031923.ce1f36547351bf07b6fff9a0@ime.usp.br> References: <20160117031923.ce1f36547351bf07b6fff9a0@ime.usp.br> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2016 06:14:08 -0000 On Sun, 17 Jan 2016 03:19:23 +0000, Lu=EDs Fernando Schultz Xavier da Silve= ira wrote: > Since the beginning of this year, graphics/libGL and friends started > depending on a significant amount of software, including git and bzr. > Could anyone explain why that is and whether it is possible to avoid > such dependencies? >=20 > Also, there is a dependency on clang and llvm from ports because of > advanced features that I (and I guess many of us) do not require. > I believe it has to do with the Gallium driver and OpenCL. >=20 > Just a suggestion: it would be pretty nice if there were some port > knobs to avoid pulling in another toolchain from ports to build > software that is never run. Is installing from a package an option for you? In this case only the run dependencies will be installed, the build dependencies will be left out. I can imagine that some software vendors put everything on the build dependencies list they typically find on developers' Linux systems (git to check out code, a "custom" compiler, maybe a whole document processing system for the creation of the documentation, and so on), but on FreeBSD those maybe are not needed, so using a package might not "pollute" your system with stuff you don't need. Usually a port _does_ have configuration options to avoid this, but as I said: If the maintainer considers certain software essential for building, the required stuff is not optional anymore - no matter if the programs in question are _actually being used_ or not... --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...