aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-10-18 01:13:02 +0800
committerjbeich <jbeich@FreeBSD.org>2016-10-18 01:13:02 +0800
commit3c9709791560aa0db6861424e54ea5369922f03d (patch)
tree5bee8abd566c531afd6c57d4e1741631e3d50932 /devel
parentb46b432e986063b50ab59d7aa84020fe70f304e5 (diff)
downloadfreebsd-ports-gnome-3c9709791560aa0db6861424e54ea5369922f03d.tar.gz
freebsd-ports-gnome-3c9709791560aa0db6861424e54ea5369922f03d.tar.zst
freebsd-ports-gnome-3c9709791560aa0db6861424e54ea5369922f03d.zip
devel/git-cinnabar: unbreak build-as-user on 11.0
===> Configuring for git-cinnabar-0.4.0.b3.6 tar: Can't open `version': Permission denied tar: Error exit delayed from previous errors. Reported by: mat
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}