BSD Ports

devel/erlang-native-compiler g20251024 FreeBSD

Native Code Compiler helper for Erlang

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
918562f4f0
License
APACHE20
Categories
devel
Package size
28.8 KiB, 35.8 KiB installed

Description

erlang-native-compiler, or enc, as it is installed, is an Erlang build tool that makes it easy to compile erlang NIFs - native interface functions - in rebar3 and mix projects, handling the port compiler options that rebar and rebar2 provided, but were subsequently removed from rebar3 and not included in mix itself.

enc is a self-contained Erlang script, so it's easy to distribute or even embed directly in a project.

In the other systems

SystemPortVersion
FreeBSDdevel/erlang-native-compilerg20251024
DragonFlydevel/erlang-native-compilerg20211004
HardenedBSDdevel/erlang-native-compilerg20251024
GhostBSDdevel/erlang-native-compilerg20251024

Install

Binary package:

pkg install erlang-native-compiler

From the ports tree:

cd /usr/ports/devel/erlang-native-compiler/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	erlang-native-compiler>0:devel/erlang-native-compiler

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latestg20251024g20251024-g20211004-
FreeBSD:14:quarterlyg20251024g20251024n/ag20211004-
FreeBSD:15:latestg20251024g20251024n/ag20211004g20211004
FreeBSD:15:quarterlyg20251024g20251024n/an/an/a
FreeBSD:16:latestg20251024g20251024n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Files

distinfo 1
FileSizeSHA256
davisp-erlang-native-compiler-g20251024-ba13cfb_GH0.tar.gz273045b3bfbd103d56c7e356a243f668cd31e2a730cb17e2be6a8cc325ba7aeed5381

Commit history 1

DateCommitCreditsLog message
918562f4f0 Jimmy Olgeni devel/erlang-native-compiler: Update to g20251024
Upstream's only change since 2021: replace code:lib_dir/2, deprecated in OTP 27, with code:lib_dir/1 plus filename:join/2 when locating the erl_interface include and lib directories. Reviewed by: dch Differential Revision: https://reviews.freebsd.org/D59223