From nobody Fri Oct 18 20:25:10 2024 X-Original-To: dev-commits-ports-all@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 4XVbmR5LZQz5Yv3W; Fri, 18 Oct 2024 20:25:11 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVbmR2Kvrz4Hk9; Fri, 18 Oct 2024 20:25:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729283111; 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=A2fbW64dQArpYs2sqEPTn2wle0mhKMYHh4OUyXImMEE=; b=VFcKMfdxfiddnU38KUzQSSuk2w3lMlWoRhIo2B4lKFzswOjioodVLNeEskDkQNC1w8AMzo pKIVZ1tzTdlgwY0Ls5XXAV/BfaWKhHEYoBmcjkq5zQhMOs8E6M3MzhdOUsUhHXgCIblgdK s+HFBNJf1nKCb4EOTxhatjc8YUwWzkYsd8ngbLBoBmZCzqp4hVeOKkIhA/2AT1wUJqX+g8 gtHonDF6ZwVJ/2e5xlm9XWCMzPE3lIcD//lN8k0d88jPH7gEmgARlN3v+9EdxGJ2/ARPPR oDRqeiLFvxQnSpFH1vp+Rm/94pC1qWvyIAjlFCVXdApToqV1jgsKbV89Stnvfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729283111; 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=A2fbW64dQArpYs2sqEPTn2wle0mhKMYHh4OUyXImMEE=; b=rLwmoulw2MteZp7W0vIJ4Vszwx8/kfo5a6ntkivQbEm4a2irA5A85yIjeu1IkvRylfrw89 LpepxOFoxfAN3gTkjPWsA4L4Xee6irUM7gERgObGaE2rCySq+yQmaAAqG8Brwwzicuhj6z 6sp5FGlj9upVRB63zwdU8blayegdW95pyQnS44l9TIwC0Zg5sjd6LnRG6/yu6tQD3Y4961 9nhNoiwYHqef/hWvFh+nnqyzdJDDVq9B77uSlRmp/0yUBySjieiTIcC70OArZMLKeFBxky gMf0G8UrDE+SCp+xVf6kcxAO3LS8SqFT57Ew9heVskpnlha+5UuzANZKnhnU8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729283111; a=rsa-sha256; cv=none; b=YbwTxFgMSX7FJ5hpXTjomOrYxOC7q2Ryzjo8O8NWjFL99V178nN/Fp+5FJAZsuIA7v49Cq 8hhnfxetGEknTcbFp11GpFQSMkXqKn5dlc9vy2GuHScPtl5u8EDQYbv8vQn3Ho3HNgAE+o D8SYqJYjvsz+Z8P57Vh6EeeqsdEdksdg+dfBoX+ahrMzx6sOFIyxkmiQwZNBx770CcRmBv KlEdBcA5VAC1bfVNcZQ7aFlHEI3a6TsvuJOqU2hiImY+loyBLFoo/9U161XY9WHQzE/YgA NVk21B4Ojpsw0MdNwdK8K/fuwSXM1C/12nYA4m+jHNbSMgsMT+QuH42vuQPHDw== 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 4XVbmQ6bV9zp2r; Fri, 18 Oct 2024 20:25:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49IKPALO076676; Fri, 18 Oct 2024 20:25:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49IKPAP1076673; Fri, 18 Oct 2024 20:25:10 GMT (envelope-from git) Date: Fri, 18 Oct 2024 20:25:10 GMT Message-Id: <202410182025.49IKPAP1076673@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Craig Leres Subject: git: 0803d9c4e02c - 2024Q4 - devel/xtensa-esp-elf: Fix toolchain version string List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: leres X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q4 X-Git-Reftype: branch X-Git-Commit: 0803d9c4e02c9bc5315ff7456a591f9725f96be0 Auto-Submitted: auto-generated The branch 2024Q4 has been updated by leres: URL: https://cgit.FreeBSD.org/ports/commit/?id=0803d9c4e02c9bc5315ff7456a591f9725f96be0 commit 0803d9c4e02c9bc5315ff7456a591f9725f96be0 Author: Craig Leres AuthorDate: 2024-10-17 19:54:35 +0000 Commit: Craig Leres CommitDate: 2024-10-18 20:24:56 +0000 devel/xtensa-esp-elf: Fix toolchain version string xtensa-esp32-elf-cc was reporting: xtensa-esp-elf-cc (crosstool-NG UNKNOWN) 13.2.0 Update to correctly show the version of crosstool used: xtensa-esp-elf-cc (crosstool-NG esp-13.2.0_20240530) 13.2.0 (cherry picked from commit ea2a77b789f4db0790a248bd6ff9996054e9e5bc) --- devel/xtensa-esp-elf/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/devel/xtensa-esp-elf/Makefile b/devel/xtensa-esp-elf/Makefile index 3b9ccfdce9fc..a34b7a88edaa 100644 --- a/devel/xtensa-esp-elf/Makefile +++ b/devel/xtensa-esp-elf/Makefile @@ -1,6 +1,6 @@ PORTNAME= xtensa-esp-elf DISTVERSION= 13.2.0_20240530 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= https://github.com/espressif/crosstool-NG/releases/download/esp-${DISTVERSION}/:source1 \ GNU/gmp:source2 \ @@ -74,7 +74,7 @@ CARGO_CARGOTOML= ${WRKSRC2}/Cargo.toml CARGO_CARGOLOCK= ${WRKSRC2}/Cargo.lock WRKSRC2= ${WRKDIR}/esp-toolchain-bin-wrappers-${TAG_WRAPPERS}/gnu-xtensa-toolchian -ESPVER= ${DISTNAME:tl:S/-src$//:S/-esp-/-/} +ESPVER= esp-${DISTVERSION} ESPDATE= 20240305 GCCVER= 13.2.0 PLIST_SUB= PKGBASE=$(PKGBASE) \ @@ -103,6 +103,10 @@ post-extract: ${LN} -s \ ${DISTDIR}/espressif-newlib-esp32-esp-4.3.0_${ESPDATE}_GH0.tar.gz \ ${TARBALLS}/newlib-esp32-esp-4.3.0_${ESPDATE}.tar.gz + ${CP} -p ${BUILD_WRKSRC}/maintainer/git-version-gen \ + ${BUILD_WRKSRC}/maintainer/git-version-gen- + ${PRINTF} "#!/bin/sh\necho -n '${ESPVER}'\n" > \ + ${BUILD_WRKSRC}/maintainer/git-version-gen # Use a new crosstool.config that lets us download a # branch/tag tarball instead of doing "git clone" @@ -112,9 +116,6 @@ post-extract: do-configure: cd ${BUILD_WRKSRC} && ./bootstrap - ${PRINTF} "#!/bin/sh\necho '${ESPVER}'\n" > \ - ${BUILD_WRKSRC}/version.sh - ${CHMOD} -w+x ${BUILD_WRKSRC}/version.sh cd ${BUILD_WRKSRC} && \ ${SETENV} ${BUILD_ENV} LIBS=-lintl \ ./configure --prefix=${WRKDIR}/ct-ng --exec-prefix=${WRKDIR}/ct-ng