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

Attachment: pgpwsB0GaUE2r.pgp
Description: PGP signature

Reply via email to