aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2012-10-10 18:20:21 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2012-10-10 18:20:21 +0000
commitb7139dede39c54c4d5f376b66f08ce12bd8def9c (patch)
tree3515128f74bbb1267c3eda0d3a322d013a400eb0 /Mk/bsd.port.mk
parentd553f23ad3f744db639c7756ccb6f2efd95241d1 (diff)
downloadports-b7139dede39c54c4d5f376b66f08ce12bd8def9c.tar.gz
ports-b7139dede39c54c4d5f376b66f08ce12bd8def9c.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 6099f3407693..90c0f3582853 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1534,6 +1534,9 @@ check-makefile::
_POSTMKINCLUDED= yes
WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work
+.if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB)
+WRKSRC?= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}
+.endif
.if defined(NO_WRKSUBDIR)
WRKSRC?= ${WRKDIR}
.else