From owner-freebsd-ruby@FreeBSD.ORG Fri Oct 4 09:13:56 2013 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 839BBFF4 for ; Fri, 4 Oct 2013 09:13:56 +0000 (UTC) (envelope-from stas@freebsd.org) Received: from mx0.deglitch.com (unknown [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2A630201D for ; Fri, 4 Oct 2013 09:13:56 +0000 (UTC) Received: from [192.168.1.2] (238.sub-70-197-6.myvzw.com [70.197.6.238]) by mx0.deglitch.com (Postfix) with ESMTPSA id 9F5008FC2B; Fri, 4 Oct 2013 13:13:40 +0400 (MSK) Content-Type: multipart/signed; boundary="Apple-Mail=_DC20B813-56BD-403B-9AFE-D8047BAC62D7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: fixing port dependencies From: Stanislav Sedov In-Reply-To: <99496.1380874651@server1.tristatelogic.com> Date: Fri, 4 Oct 2013 02:13:33 -0700 Message-Id: References: <99496.1380874651@server1.tristatelogic.com> To: "Ronald F. Guilmette" X-Mailer: Apple Mail (2.1510) Cc: freebsd-ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 09:13:56 -0000 --Apple-Mail=_DC20B813-56BD-403B-9AFE-D8047BAC62D7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Oct 4, 2013, at 1:17 AM, "Ronald F. Guilmette" = wrote: >=20 >=20 > So, um, I just tried to update a bunch of my ports to the latest > revs, which I do rather infrequently, and of course, as usual, > I got a boat load of port build failures. (Sigh.) >=20 > Well, anyway, one of them was this: >=20 > - lang/ruby18 (marked as IGNORE) >=20 > I don't use Ruby myself, so obviously, some other port(s) I have > installed are using it. I've gone ahead and built & installed > lang/ruby20 and that went fine. Now I'd just like to know what, > if anything, I should do, specifically, in order to make every > installed port that I have that was dependent upon ruby18 now > instead dependent upon ruby20. And actually, since we are on > the subject, is doing that exact thing even wise? I have no idea, > but wish I knew. Is it possible that some port or another that I > have installed that was dependent upon ruby18 might now malfunction > if forced to use ruby20 instead? (That notion certainly does not > seem to be entirely out of the question.) Yes, you need to rebuild all ports that depend on ruby18 if you plan to delete it. Ruby libraries are installed in a version-specific location, so only ruby18 will see them (that's also why they have ruby18- prefix). To rebuild all ports that depend on ruby 18 you can use portupgrade: ,------ | portupgrade -x ruby-1.8.\* -fr lang/ruby18 `------ However, I believe the default version of ruby is 1.9 now, so this = action will install ruby19 and update all install ruby applications and = libraries to use ruby19. If you wish to use ruby20 by default (I do), you should add RUBY_DEFAULT_VER=3D2.0 to your /etc/make.conf and rebuild ruby20 = before performing the aforementioned action. -- ST4096-RIPE --Apple-Mail=_DC20B813-56BD-403B-9AFE-D8047BAC62D7 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----- iQEcBAEBAgAGBQJSToa9AAoJEG2OTJ9WF+r7dN4H/0/A+Bs2p6GWAVznd6NDD1oH d8ggxJYpsAvuxxGKKffHeMwOVGZlO0nhU8MQQM2Sm5wbyIOJQ9GnRUYqujQSGb06 HCOqciSp4gSmxQc1QhA7eLJu/2g1MK4JbIbYSnPCKj3wOwpe+dKGRlxVX4qKduNK AoZvKJzs9FiQhWQuaKRDWi/WMT1EdCqK639bq3p+68GiYPO/YmzzH8rqSUtonVAw HbuuqwmHxPI9dmCm9tpumf4Mv6FeZ9I+P5+Ko5p1PmOReVCruk1s8BiqXqTj2FjP R92EtRti3FcJpb2hf7W7Gzb0Qfw4ZHmv/hIj+3amnrF4Ls3kjIIBqKkaCxOqjP8= =mbT1 -----END PGP SIGNATURE----- --Apple-Mail=_DC20B813-56BD-403B-9AFE-D8047BAC62D7--