Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2024 08:00:39 GMT
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ba2257cba9e9 - main - graphics/openexr: support non-root build in poudriere...
Message-ID:  <202403080800.42880dH3036997@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ba2257cba9e9ac1d23728e244ccfd70cb3d49027

commit ba2257cba9e9ac1d23728e244ccfd70cb3d49027
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-03-08 07:58:57 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-03-08 08:00:36 +0000

    graphics/openexr: support non-root build in poudriere...
    
    ...by replacing CPIO with a MKDIR/CP combo.
    
    Reported by:    arrowd@
---
 graphics/openexr/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile
index 8c196934143f..792db5976518 100644
--- a/graphics/openexr/Makefile
+++ b/graphics/openexr/Makefile
@@ -79,7 +79,9 @@ _imath_libcxx=	${COMPILER_FEATURES:Mlib*c++}
 post-extract:
 	${MKDIR} ${CONFIGURE_WRKSRC}/src/test/bin
 .for i in ${DISTFILES:M*.exr?testimages}
-	${PRINTF} %s ${i:S/:testimages//} | ( cd ${DISTDIR}/${DIST_SUBDIR} && ${CPIO} -dumpl ${CONFIGURE_WRKSRC}/src/test/bin/ 2>/dev/null )
+	d="$$(dirname "${CONFIGURE_WRKSRC}/src/test/bin/${i:S/:testimages//}")" \
+	  && ${MKDIR} "$$d" \
+	  && ${CP} ${DISTDIR}/${DIST_SUBDIR}/${i:S/:testimages//} "$$d"
 .endfor
 
 pre-configure:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403080800.42880dH3036997>