From 3038813c314bedc42d86317168a24837cafc6d30 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 9 Jul 2016 13:58:28 +0000 Subject: [PATCH] devel/git-cinnabar: unbreak build-as-user poudriere's BUILD_AS_NON_ROOT actually builds dependencies as root and only the port in question as non-root. So, don't assume another's port WRKSRC is writable. =================================================== ===> Configuring for git-cinnabar-0.4.0.b1 mv: rename /wrkdirs/usr/ports/devel/git/work/git-2.9.0 to /wrkdirs/usr/ports/devel/git-cinnabar/work/git-cinnabar-0.4.0b1/git-core: Permission denied *** Error code 1 Reported by: pkg-fallout --- devel/git-cinnabar/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/devel/git-cinnabar/Makefile b/devel/git-cinnabar/Makefile index 8e77f0d83bdd..2c9978895580 100644 --- a/devel/git-cinnabar/Makefile +++ b/devel/git-cinnabar/Makefile @@ -29,9 +29,8 @@ PORTDATA= * PORTDOCS= README.md post-configure: - @${RMDIR} ${WRKSRC}/git-core - @${MV} $$(${MAKE} -V WRKSRC -C ${PORTSDIR}/devel/git) \ - ${WRKSRC}/git-core + @${TAR} cf - -C$$(${MAKE} -V WRKSRC -C ${PORTSDIR}/devel/git) . | \ + ${TAR} xof - -C${WRKSRC}/git-core do-install: ${MKDIR} ${STAGEDIR}${DATADIR}