aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-11-11 00:53:16 +0800
committermat <mat@FreeBSD.org>2016-11-11 00:53:16 +0800
commit63aa1ba8c087b2abce72fd851d6c30f09853a6cf (patch)
treecaf39f3dc6f2b16eb58bc0ad13763bf659640b1d
parent6e404ea739114ea115a760558a5e81a17ec7cdbc (diff)
downloadfreebsd-ports-graphics-63aa1ba8c087b2abce72fd851d6c30f09853a6cf.tar.gz
freebsd-ports-graphics-63aa1ba8c087b2abce72fd851d6c30f09853a6cf.tar.zst
freebsd-ports-graphics-63aa1ba8c087b2abce72fd851d6c30f09853a6cf.zip
Fix build as a regular user.
Sponsored by: Absolight
-rw-r--r--devel/git-cinnabar/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/git-cinnabar/Makefile b/devel/git-cinnabar/Makefile
index b2a6878606d..63cdaf13bcc 100644
--- a/devel/git-cinnabar/Makefile
+++ b/devel/git-cinnabar/Makefile
@@ -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}