git: ba2257cba9e9 - main - graphics/openexr: support non-root build in poudriere...
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Mar 2024 08:00:39 UTC
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: