aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-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 080eca025a26..79378c5dfe4f 100644
--- a/devel/git-cinnabar/Makefile
+++ b/devel/git-cinnabar/Makefile
@@ -21,6 +21,7 @@ USES= gmake python:2.7,run shebangfix
SHEBANG_LANG= python2.7
SHEBANG_FILES= ${PORTNAME} git-remote-hg
.ifnmake describe
+WRKSRC_git!= ${MAKE} -V WRKSRC -C ${PORTSDIR}/devel/git
MAKE_ENV!= ${MAKE} -V MAKE_ENV -C ${PORTSDIR}/devel/git
MAKE_ARGS!= ${MAKE} -V MAKE_ARGS -C ${PORTSDIR}/devel/git
.endif
@@ -30,8 +31,7 @@ PORTDATA= *
PORTDOCS= README.md
post-configure:
- @${TAR} cf - -C$$(${MAKE} -V WRKSRC -C ${PORTSDIR}/devel/git) . | \
- ${TAR} xof - -C${WRKSRC}/git-core
+ @(cd ${WRKSRC_git} && ${COPYTREE_SHARE} . ${WRKSRC}/git-core)
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}