Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2026 15:27:46 +0000
From:      Dave Cottlehuber <dch@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2e947b7d110f - main - lang/erlang: rename typer to avoid conflicts with other ports
Message-ID:  <696baa72.21f64.e270432@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by dch:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2e947b7d110f5e0dd3b94774c93e1b51edae5061

commit 2e947b7d110f5e0dd3b94774c93e1b51edae5061
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2026-01-17 15:27:04 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2026-01-17 15:27:04 +0000

    lang/erlang: rename typer to avoid conflicts with other ports
    
    typer is rarely used, so rename to erl_typer to allow the far more
    common py-typer to take its place, used by many py-* CLI tools.
    
    Sponsored by:   SkunkWerks, GmbH
    Approved by:    erlang
---
 lang/erlang/Makefile  | 3 +++
 lang/erlang/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index ab67f0d6683f..d23d6357f3c6 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	erlang
 DISTVERSIONPREFIX=	OTP-
 DISTVERSION=	26.2.5.16
+PORTREVISION=	1
 PORTEPOCH=	4
 CATEGORIES=	lang parallel java
 DIST_SUBDIR=	erlang
@@ -169,6 +170,8 @@ post-install:
 		${STAGEDIR}${PREFIX}/bin/erl_call
 	${LN} -sf ../lib/${_ERLANG_LIB}/lib/snmp-${_SNMP_VSN}/bin/snmpc \
 		${STAGEDIR}${PREFIX}/bin/snmpc
+	# avoid conflict with very common binary from other ports
+	${MV} ${STAGEDIR}${PREFIX}/bin/typer ${STAGEDIR}${PREFIX}/bin/erl_typer
 
 post-install-CORBA-on:
 	cd ${WRKSRC_corba} && \
diff --git a/lang/erlang/pkg-plist b/lang/erlang/pkg-plist
index 34ca82eb3e1e..d24ea00bd6c1 100644
--- a/lang/erlang/pkg-plist
+++ b/lang/erlang/pkg-plist
@@ -3,10 +3,10 @@ bin/dialyzer
 bin/epmd
 bin/erl
 bin/erl_call
+bin/erl_typer
 bin/erlc
 bin/escript
 bin/run_erl
 bin/snmpc
 bin/to_erl
-bin/typer
 %%FOP%%etc/man.d/erlang.conf


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696baa72.21f64.e270432>