svn commit: r418281 - head/devel/git-cinnabar

Jan Beich jbeich at FreeBSD.org
Sat Jul 9 13:58:29 UTC 2016


Author: jbeich
Date: Sat Jul  9 13:58:28 2016
New Revision: 418281
URL: https://svnweb.freebsd.org/changeset/ports/418281

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

Modified:
  head/devel/git-cinnabar/Makefile   (contents, props changed)

Modified: head/devel/git-cinnabar/Makefile
==============================================================================
--- head/devel/git-cinnabar/Makefile	Sat Jul  9 13:42:53 2016	(r418280)
+++ head/devel/git-cinnabar/Makefile	Sat Jul  9 13:58:28 2016	(r418281)
@@ -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}


More information about the svn-ports-head mailing list