commit:     ed78c944748d94ea4fb37c782b23cbe478899c1d
Author:     Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Sat Jul  8 18:25:37 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 17 09:44:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed78c944

distutils-r1.eclass: Remove --reflink=auto from calls to cp

--reflink=auto has become the default behaviour in coreutils 9,
and it is not compatible with BSD userland.

Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/distutils-r1.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index fd9bf47aa963..046277d0371c 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1974,7 +1974,7 @@ _distutils-r1_post_python_compile() {
                        die "${rscriptdir} should not exist!"
                if [[ -d ${bindir} ]]; then
                        mkdir -p "${rscriptdir}" || die
-                       cp -a --reflink=auto "${bindir}"/. "${rscriptdir}"/ || 
die
+                       cp -a "${bindir}"/. "${rscriptdir}"/ || die
                fi
 
                # enable venv magic inside the install tree

Reply via email to