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 CFB9D158008 for ; Fri, 16 Jun 2023 01:42:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CCB6DE09C7; Fri, 16 Jun 2023 01:42:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B62C3E09C7 for ; Fri, 16 Jun 2023 01:42:22 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC621340E1C for ; Fri, 16 Jun 2023 01:42:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8F4BA66 for ; Fri, 16 Jun 2023 01:42:19 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1686879374.dc3acbe1cfc97a45f986c5ff46273f91dd75738a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild X-VCS-Directories: sys-libs/zlib-ng/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: dc3acbe1cfc97a45f986c5ff46273f91dd75738a X-VCS-Branch: master Date: Fri, 16 Jun 2023 01:42:19 +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: 1594c8e9-0d52-42d7-b8d9-b31a7517e488 X-Archives-Hash: 8ef08e38631614f05ff0c37f0558cbd1 commit: dc3acbe1cfc97a45f986c5ff46273f91dd75738a Author: Sam James gentoo org> AuthorDate: Fri Jun 16 01:35:56 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jun 16 01:36:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc3acbe1 sys-libs/zlib-ng: add multilib If this is ever going to be a thing with compat, we obviously need this. We could conditionalise stuff on USE=compat but I don't really see the value in that; still possible we could want this for newly built 32-bit stuff anyway. Signed-off-by: Sam James gentoo.org> .../zlib-ng/{zlib-ng-2.1.2.ebuild => zlib-ng-2.1.2-r1.ebuild} | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild similarity index 97% rename from sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild rename to sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild index 718d4ab949b5..f96bd980dbf9 100644 --- a/sys-libs/zlib-ng/zlib-ng-2.1.2.ebuild +++ b/sys-libs/zlib-ng/zlib-ng-2.1.2-r1.ebuild @@ -6,7 +6,7 @@ EAPI=8 # Worth keeping an eye on 'develop' branch upstream for possible backports, # as they copied this practice from sys-libs/zlib upstream. -inherit cmake +inherit cmake-multilib DESCRIPTION="Fork of the zlib data compression library" HOMEPAGE="https://github.com/zlib-ng/zlib-ng" @@ -31,7 +31,7 @@ PATCHES=( "${FILESDIR}"/zlib-ng-2.1.2-cmake.patch ) -src_configure() { +multilib_src_configure() { local mycmakeargs=( -DZLIB_COMPAT=$(usex compat) -DZLIB_ENABLE_TESTS=$(usex test) @@ -78,9 +78,7 @@ src_configure() { cmake_src_configure } -src_install() { - cmake_src_install - +pkg_postinst() { if use compat ; then ewarn "zlib-ng is experimental and replacing the system zlib is dangerous" ewarn "Please be careful!"