From nobody Fri Jun 17 20:08:51 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4A0AE83ED3E; Fri, 17 Jun 2022 20:08:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LPqql6VDJz4cjC; Fri, 17 Jun 2022 20:08:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655496532; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eZhS6NmKOU19PFdP4aD6F7ZTZCIU5Tum98l+sxA+MlY=; b=ZlZvm36LwnM0D3qIxyNVu1+SHZbE+R7I3C63XbXNlenM3lE0yKdu1ZR0yKRQx3Zg7sVW09 Gu3Ja/thfvgIwn8esXoWd8TIq8MC2+YyxEA2rlb5bQaPv6PRO8+HPPzOesYc4WzHTBsE6H 3YM5UjCX4YPDyujechDZSTpef+psXRPuS7rQg5OSpN/fAavAZuV0ynCfTPpuGWkTGBBYIL IKGVKTk9+aKGKC7PuX0LTfFZUsznzUL7oAtt6lYJXCNRejFtu0ZVZM64jrikGvpyETg/ga hgmuqL85INJktkYa/LmhId8zW7qdiMBPlKL+q3XXxrntfXhJcgmkpLKZjpyD6A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BF1BC263A4; Fri, 17 Jun 2022 20:08:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25HK8pWo062130; Fri, 17 Jun 2022 20:08:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25HK8p5A062129; Fri, 17 Jun 2022 20:08:51 GMT (envelope-from git) Date: Fri, 17 Jun 2022 20:08:51 GMT Message-Id: <202206172008.25HK8p5A062129@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dave Cottlehuber Subject: git: 07b93079da18 - main - lang/elixir-devel: remove hard dependency on erlang24 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dch X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 07b93079da18867999e5874fc96afc3b7cf27d15 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655496532; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=eZhS6NmKOU19PFdP4aD6F7ZTZCIU5Tum98l+sxA+MlY=; b=ZVCuMVzhdM+2/cHltmXEQNuK6Q5W6/J9lyteIPjegjxH5qOIi8+S6pkOeEW74Vjf1zM8n5 6V/d00au704+6949aP3SAxwhC+KSOxsudxo4WwR1el48wCeMcpNt7k+D9PaC2KW8fXT6VW Vj9iUZJ916QsTytzN945T4yvYXeFzpHR9Z9AoQEvmeGiVgG8bgeqJfiMzg6OkPh07sd35g ky4blANQueQy6LNofUTO4Ia92jzBeedmVo5xop0pXC9j7KUTQa5yZXMEi0nhxRu0/Noaoe /81jYi5EFQAjmFBs/WyIeNDusBXp/VfoHLpjOHZRYeSYxbJm6or0t1v8y8Yzzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655496532; a=rsa-sha256; cv=none; b=pdAgyetHZY3iF8KxDkYt5ZgIZswf4nLabrU/L/vmehOmQLucc/+v5eWeSW7vcbT4xQO3TS K2QSZtLHBXUjoSxybLwNJMyDAEhrFxe4+S6DoZaxpHO1MYsLoLSYEqUPtJ3RuHw9sfz20e KezpFOhZ5O+5+rCRM+hHT/ovA/a4sJcLWq4cCRvQlMjPNiTvxEsB5e7poDOiJ4G8Jg/wez 8P1YhYD3hVhkeV/g3epLoP/7atoqBAMiNB9pe68tii3yv/Y0bFRJn/mSsnnZVBrZ/fPM2w Y3+pFoLnp64AFNdtiHc4PvCs04v8U3WhbLhmzzc0LAhsj1i7Z+OheulQagOWjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dch: URL: https://cgit.FreeBSD.org/ports/commit/?id=07b93079da18867999e5874fc96afc3b7cf27d15 commit 07b93079da18867999e5874fc96afc3b7cf27d15 Author: Dave Cottlehuber AuthorDate: 2022-06-17 18:46:28 +0000 Commit: Dave Cottlehuber CommitDate: 2022-06-17 20:04:53 +0000 lang/elixir-devel: remove hard dependency on erlang24 Since moving from OTP21 as default OTP in lang/erlang, to OTP24, we no longer have incompatible bytecode versions between default erlang and newer builds. Thus, there is no reason to hard-wire the dependency when a simple PATH will work as expected. Remove broken SRC as build option. PR: 264046 PR: 257235 Reported by: Pat Maddox Sponsored by: SkunkWerks, GmbH --- lang/elixir-devel/Makefile | 14 +++----------- lang/elixir-devel/pkg-message | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/lang/elixir-devel/Makefile b/lang/elixir-devel/Makefile index 83c2d479b986..d55150436702 100644 --- a/lang/elixir-devel/Makefile +++ b/lang/elixir-devel/Makefile @@ -1,6 +1,7 @@ PORTNAME= elixir DISTVERSIONPREFIX= v DISTVERSION= 1.13.4 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES+= https://github.com/elixir-lang/elixir/releases/download/${DISTVERSIONPREFIX}${PORTVERSION}/:doc PKGNAMESUFFIX= -devel @@ -13,7 +14,6 @@ COMMENT= Functional, meta-programming aware language built on top of Erlang VM LICENSE= APACHE20 BUILD_DEPENDS= erlang-runtime${ERLANG_VER}>0:lang/erlang-runtime${ERLANG_VER} -RUN_DEPENDS= erlang-runtime${ERLANG_VER}>0:lang/erlang-runtime${ERLANG_VER} USES= gmake @@ -30,12 +30,9 @@ NO_ARCH= yes MAKE_ENV+= MAN_PREFIX=${PREFIX}/man \ PATH="${LOCALBASE}/lib/erlang${ERLANG_VER}/bin:${PATH}" -OPTIONS_DEFINE= DOCS SRC -OPTIONS_DEFAULT= DOCS SRC +OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes -SRC_DESC= Install source code - ERLANG_VER= 24 .include @@ -43,17 +40,12 @@ ERLANG_VER= 24 post-extract: @${FIND} ${WRKDIR}/doc -name .build -delete -post-patch: -# hard-wire elixir to the OTP version is was compiled with - @${REINPLACE_CMD} -e \ - 's|^ERTS_BIN=.*$$|ERTS_BIN=${PREFIX}/lib/erlang${ERLANG_VER}/bin/|' \ - ${WRKSRC}/bin/elixir post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKDIR}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} -post-install-SRC-on: +post-install: ${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-devel/pkg-message b/lang/elixir-devel/pkg-message new file mode 100644 index 000000000000..7b969028d8d3 --- /dev/null +++ b/lang/elixir-devel/pkg-message @@ -0,0 +1,20 @@ +[ +{ type: install + message: <