Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 01:34:07 +0000
From:      Steve Wills <swills@freebsd.org>
To:        Patrick <gibblertron@gmail.com>
Cc:        freebsd-ruby@freebsd.org
Subject:   Re: /usr/local/bin/ruby et al
Message-ID:  <20140617013404.GA22447@mouf.net>
In-Reply-To: <CA%2BdWbmZz7P_YLh02yUo7KCfz09QeZRAo_AhT%2BJ0qzyWdRkov%2Bg@mail.gmail.com>
References:  <CA%2BdWbmZz7P_YLh02yUo7KCfz09QeZRAo_AhT%2BJ0qzyWdRkov%2Bg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140617013404.GA22447>