From owner-freebsd-ruby@FreeBSD.ORG Tue Jun 17 01:34:18 2014 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 ESMTPS id 654EAFB6 for ; Tue, 17 Jun 2014 01:34:18 +0000 (UTC) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 08FD423F9 for ; Tue, 17 Jun 2014 01:34:17 +0000 (UTC) Received: from mouf.net (swills@mouf [199.48.129.64]) by mouf.net (8.14.5/8.14.5) with ESMTP id s5H1Y7VG022682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 17 Jun 2014 01:34:12 GMT (envelope-from swills@mouf.net) Received: (from swills@localhost) by mouf.net (8.14.5/8.14.5/Submit) id s5H1Y70d022681; Tue, 17 Jun 2014 01:34:07 GMT (envelope-from swills) Date: Tue, 17 Jun 2014 01:34:07 +0000 From: Steve Wills To: Patrick Subject: Re: /usr/local/bin/ruby et al Message-ID: <20140617013404.GA22447@mouf.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Tue, 17 Jun 2014 01:34:12 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net X-Virus-Scanned: clamav-milter 0.98.1 at mouf.net X-Virus-Status: Clean Cc: freebsd-ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2014 01:34:18 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 16, 2014 at 02:54:33PM -0700, Patrick wrote: > Is there any official way to have non-versioned links created in > /usr/local/bin/ruby when installing from a precompiled package? Not at the moment. > ie. If I have DEFAULT_VERSIONS=ruby=2.0 in my /etc/make.conf and I run: pkg > install ruby20, I'd love if /usr/local/bin/ruby, /usr/local/bin/irb, etc. > were created instead of ruby20, irb20, etc. The /etc/make.conf settings only apply at build time of packages, not install time. > I know the Makefile in the port does this providing the default version is > set. Correct. > Or would it work if I built my own ruby20 package using Poudriere in > an environment where the default version was set? Yes, this will work, I do that myself. Just be sure to change the make.conf in poudriere, not the one in /etc. Steve --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTn5sLAAoJEPXPYrMgexuhdZUIAKbor1N7yACJRdtn0Ec/Ewkj hBPj5orsxbtCf7sFnp/F3+bjR31oI/aQ8IjDOcAu3othD5aCtEPGj+3uRPlBXVWb wFKoNGsa1wVC3IkqJhwX8AtySZ6GlLUEWXeFFURod4V7vNsO3GCW1YpZEfG6ucct IvZvALmfDjYnbPGCfdlJy57bEi5xbH9lPQ0ghat/9hRLFPNWbV2ET9xKraMpTnPv 5vXG/UGj0+aVduAVoGhz6MNR0huXCKqGP/9sobxcnWNTTFhIxf7lsyOi3kOxM0wR wqkEjDZgCR7ZRPVtWLMEJeBAbyDtNy5U7FhT4urhhxc2+sVumRfqCUozv9rUov4= =/q/P -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--