From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A64715802F for ; Thu, 9 Mar 2023 10:54:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D54C1E0929; Thu, 9 Mar 2023 10:54:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD4CCE0929 for ; Thu, 9 Mar 2023 10:54:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF3B033BED4 for ; Thu, 9 Mar 2023 10:54:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4BD98DF for ; Thu, 9 Mar 2023 10:54:07 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1678359239.c84c3e24f35da1e43bedf798dc3f5ea7e6215d93.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/zig-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/zig-bin/zig-bin-0.10.1-r1.ebuild X-VCS-Directories: dev-lang/zig-bin/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: c84c3e24f35da1e43bedf798dc3f5ea7e6215d93 X-VCS-Branch: master Date: Thu, 9 Mar 2023 10:54:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f5a19a67-1233-4447-aa47-20b007bfac82 X-Archives-Hash: bc0aec34bcb1c36bb3ae5738db3e44af commit: c84c3e24f35da1e43bedf798dc3f5ea7e6215d93 Author: Florian Schmaus gentoo org> AuthorDate: Thu Mar 9 10:48:44 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Thu Mar 9 10:53:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c84c3e24 dev-lang/zig-bin: ensure 'zig' symlink is valid if possible Signed-off-by: Florian Schmaus gentoo.org> dev-lang/zig-bin/zig-bin-0.10.1-r1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-lang/zig-bin/zig-bin-0.10.1-r1.ebuild b/dev-lang/zig-bin/zig-bin-0.10.1-r1.ebuild index 81c98e238a76..30514b6b713a 100644 --- a/dev-lang/zig-bin/zig-bin-0.10.1-r1.ebuild +++ b/dev-lang/zig-bin/zig-bin-0.10.1-r1.ebuild @@ -46,6 +46,8 @@ src_install() { } pkg_postinst() { + eselect zig update ifunset + elog "0.10.1 release uses self-hosted compiler by default and fixes some bugs from 0.10.0" elog "But your code still can be un-compilable since some features still not implemented or bugs not fixed" elog "Upstream recommends:" @@ -54,3 +56,7 @@ pkg_postinst() { elog "Also see: https://ziglang.org/download/0.10.0/release-notes.html#Self-Hosted-Compiler" elog "and https://ziglang.org/download/0.10.0/release-notes.html#How-to-Upgrade" } + +pkg_postrm() { + eselect zig update ifunset +}