graphics/openexr: support non-root build in poudriere...

...by replacing CPIO with a MKDIR/CP combo.

Reported by:	arrowd@
This commit is contained in:
Matthias Andree 2024-03-08 08:58:57 +01:00
parent 6e359818c9
commit ba2257cba9
1 changed files with 3 additions and 1 deletions

View File

@ -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: