git: fb00a0446a07 - main - lang/elixir: remove broken SRC build option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jun 2022 20:08:52 UTC
The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb00a0446a075c43c0d7eb2d1ac754fda2f09bdd commit fb00a0446a075c43c0d7eb2d1ac754fda2f09bdd Author: Dave Cottlehuber <dch@FreeBSD.org> AuthorDate: 2022-06-17 19:44:50 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> CommitDate: 2022-06-17 20:04:54 +0000 lang/elixir: remove broken SRC build option PR: 257235 Sponsored by: SkunkWerks, GmbH --- lang/elixir/Makefile | 7 +++---- lang/elixir/pkg-message | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/lang/elixir/Makefile b/lang/elixir/Makefile index bfc79e613d01..2a3eda1c4fa8 100644 --- a/lang/elixir/Makefile +++ b/lang/elixir/Makefile @@ -3,7 +3,7 @@ PORTNAME= elixir DISTVERSIONPREFIX= v DISTVERSION= 1.13.4 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES+= https://github.com/elixir-lang/elixir/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/:doc DISTFILES= Docs.zip:doc @@ -31,8 +31,7 @@ REINPLACE_ARGS= -i "" NO_ARCH= yes MAKE_ENV= MAN_PREFIX=${PREFIX}/man -OPTIONS_DEFINE= DOCS SRC -OPTIONS_DEFAULT= SRC +OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes SRC_DESC= Install source code @@ -46,7 +45,7 @@ post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKDIR}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} -post-install-SRC-on: +post-install-on: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib cd ${WRKSRC}/lib/ && for lib in *; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib/$${lib}/lib; \ diff --git a/lang/elixir/pkg-message b/lang/elixir/pkg-message new file mode 100644 index 000000000000..7b969028d8d3 --- /dev/null +++ b/lang/elixir/pkg-message @@ -0,0 +1,20 @@ +[ +{ type: install + message: <<EOM +Elixir requires a compatible Erlang/OTP runtime. Ensure that you have +one of the following installed: + +- lang/erlang +- lang/erlang-runtime24 or newer +EOM +} +{ type: upgrade + message: <<EOM +Elixir requires a compatible Erlang/OTP runtime. Ensure that you have +one of the following installed: + +- lang/erlang +- lang/erlang-runtime24 or newer +EOM +} +]