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

Mathieu Arnold mat at FreeBSD.org
Thu Nov 10 16:53:17 UTC 2016


Author: mat
Date: Thu Nov 10 16:53:16 2016
New Revision: 425850
URL: https://svnweb.freebsd.org/changeset/ports/425850

Log:
  Fix build as a regular user.
  
  Sponsored by:	Absolight

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

Modified: head/devel/git-cinnabar/Makefile
==============================================================================
--- head/devel/git-cinnabar/Makefile	Thu Nov 10 16:22:41 2016	(r425849)
+++ head/devel/git-cinnabar/Makefile	Thu Nov 10 16:53:16 2016	(r425850)
@@ -22,7 +22,6 @@ SHEBANG_LANG=	python2.7
 SHEBANG_FILES=	${PORTNAME} git-remote-hg
 ALL_TARGET=	${PORTNAME}-helper
 .ifnmake describe
-WRKSRC_git!=	${MAKE} -V WRKSRC -C ${.CURDIR}/../git
 MAKE_ENV!=	${MAKE} -V MAKE_ENV -C ${.CURDIR}/../git
 MAKE_ARGS!=	${MAKE} -V MAKE_ARGS -C ${.CURDIR}/../git
 .endif
@@ -32,7 +31,8 @@ PORTDATA=	*
 PORTDOCS=	README.md
 
 post-configure:
-	@(cd ${WRKSRC_git} && ${COPYTREE_SHARE} . ${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-all mailing list