FreeBsd "pkg install" installs the old versions of Elixir - 1.4.5 and OTP - 19

In FreeBsd “pkg install” installs the old versions of Elixir - 1.4.5 and OTP - 19

To install the latest erlang version, try pkg install erlang-runtime20.
Or build it from ports.

Can’t find elixir 1.5, but it shouldn’t be too difficult to build yourself (you can adapt the makefile for elixir-1.4.5_1 in /usr/ports/lang/elixir/) since you already have erlang-20.

I think you only need to change PORTVERSION= 1.4.5 to 1.5.1.

2 Likes

after installing “pkg install erlang-runtime20” the path “usr/ports/lang/elixir/” still doesn’t exist

since I’m using “pkg”, do I need to touch ports at all?

I couldn’t find elixir-1.5 in the available packages … So if you want to use the latest version of elixir, then I guess, yes.

and

BUILD_DEPENDS= erlang>=18:lang/erlang
RUN_DEPENDS= erlang>=18:lang/erlang

?

Yeah, probably.

I’m working on sending a patch to the port maintainer to update the it to 1.5.1.

2 Likes

Well,the maintainer just commited the update yesterday, so my patch is now useless.

But the port tree is up-to-date! :tada: