From owner-freebsd-ports@FreeBSD.ORG Fri Feb 7 23:24:44 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 69DD0E4C; Fri, 7 Feb 2014 23:24:44 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 21D9214E2; Fri, 7 Feb 2014 23:24:43 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::15d:51a6:1a35:bcb5] (unknown [IPv6:2001:7b8:3a7:0:15d:51a6:1a35:bcb5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 2B5815C43; Sat, 8 Feb 2014 00:24:42 +0100 (CET) Subject: Re: USE_GCC politic -- why so many ports has it as runtime dependency? Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: multipart/signed; boundary="Apple-Mail=_84D02891-7A1B-46D4-9E7C-5B49874A2092"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.1 (6062eb4) From: Dimitry Andric X-Priority: 3 (Normal) In-Reply-To: <1133138786.20140207202949@serebryakov.spb.ru> Date: Sat, 8 Feb 2014 00:24:34 +0100 Message-Id: References: <1133138786.20140207202949@serebryakov.spb.ru> To: lev@FreeBSD.org X-Mailer: Apple Mail (2.1827) Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 23:24:44 -0000 --Apple-Mail=_84D02891-7A1B-46D4-9E7C-5B49874A2092 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 07 Feb 2014, at 17:29, Lev Serebryakov wrote: > I was very surprised, when virtualbox-ose-additions-4.3.6, installed as > binary package on 10.0/amd64, pulled gcc "lang/gcc" (567MiB) and > "devel/binutils" (50MiB), and I don't mention mpc/mprf/gmp. > > I understand, that this package could not build with clang, Ok. But why > does it need all these developer tools AT RUNTIME?! > > It even doesn't have "libjcc.so" or "libsdc++.so" in "Shared Libs > required"! > > And it seems, that most of USE_GCC-equipped ports pull all this development > toolkit for nothing! Well, some ports can be more or less difficult to get building with clang. So depending on whether the maintainer(s) wish to choose the way of least resistance, they will sometimes decide to set USE_GCC. Since a lot (maybe even most?) of modern software requires something way newer than our old gcc in base, and 10.0 and later ship without gcc by default, it is logical to use lang/gcc in such cases too. > Maybe, it is time to make USE_GCC work as if ":build" is specified by > default? And, yes, add additional port with gcc RUNTIME? As far as I know, this is a feature still in the works for pkgng. E.g. using one port work directory for multiple packages, for example -libs, -devel and so on. Although some people tend to hate such modularization with great passion. Paint for more bikesheds... :-) -Dimitry --Apple-Mail=_84D02891-7A1B-46D4-9E7C-5B49874A2092 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlL1azYACgkQsF6jCi4glqPPbQCgs721Fx470m60FyjtlkOWBC4w 7cgAoKgRjukdZZSxMSywXmEnbRnUkv8U =sMe4 -----END PGP SIGNATURE----- --Apple-Mail=_84D02891-7A1B-46D4-9E7C-5B49874A2092--