1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

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.

=======================<phase: configure      >============================
===>  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
This commit is contained in:
Jan Beich 2016-07-09 13:58:28 +00:00
parent 96df585c66
commit 3038813c31
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418281

View File

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