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 C374A158020 for ; Sun, 30 Oct 2022 15:51:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7CBDE091A; Sun, 30 Oct 2022 15:51:47 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F6ACE091A for ; Sun, 30 Oct 2022 15:51:47 +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 A6100340E6C for ; Sun, 30 Oct 2022 15:51:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DFDE644 for ; Sun, 30 Oct 2022 15:51:45 +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: <1667145018.ee6a1856f04104e92fd1f45d28fa95c1a75c7b0e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/cpio/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/cpio/cpio-2.13-r3.ebuild X-VCS-Directories: app-arch/cpio/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ee6a1856f04104e92fd1f45d28fa95c1a75c7b0e X-VCS-Branch: master Date: Sun, 30 Oct 2022 15:51:45 +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: 8c005664-93e1-4d87-9682-e8f2d1d2a1cb X-Archives-Hash: a41cb518324d05542ae51c9e1bd3cd15 commit: ee6a1856f04104e92fd1f45d28fa95c1a75c7b0e Author: Michał Górny gentoo org> AuthorDate: Sun Oct 30 14:16:55 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 30 15:50:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee6a1856 app-arch/cpio: Use --program-prefix=g to avoid mv Signed-off-by: Michał Górny gentoo.org> Signed-off-by: Sam James gentoo.org> app-arch/cpio/cpio-2.13-r3.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app-arch/cpio/cpio-2.13-r3.ebuild b/app-arch/cpio/cpio-2.13-r3.ebuild index c2b24b09a8a5..beb67c3491d2 100644 --- a/app-arch/cpio/cpio-2.13-r3.ebuild +++ b/app-arch/cpio/cpio-2.13-r3.ebuild @@ -34,6 +34,8 @@ src_configure() { $(use_enable nls) --bindir="${EPREFIX}"/bin --with-rmt="${EPREFIX}"/usr/sbin/rmt + # install as gcpio for better compatibility with non-GNU userland + --program-prefix=g ) econf "${myeconfargs[@]}" @@ -41,10 +43,8 @@ src_configure() { src_install() { default - # install as gcpio for better compatibility with non-GNU userland - # and make cpio as a symlink - mv "${ED}"/bin/{,g}cpio || die + + # make cpio a symlink dosym gcpio /bin/cpio - mv "${ED}"/usr/share/man/man1/{,g}cpio.1 || die dosym gcpio.1 /usr/share/man/man1/cpio.1 }