aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2021-03-19 14:32:10 +0000
committerMathieu Arnold <mat@FreeBSD.org>2021-03-19 14:32:10 +0000
commit4f9b0453a8027735a5366c0e8724c7f6c4ad2487 (patch)
tree44dd5b279dee3a11b11cef4f10889f2b77433212 /Mk
parente83ffd7fda02974a401846188d14a2bee88c4cb4 (diff)
downloadports-4f9b0453a8027735a5366c0e8724c7f6c4ad2487.tar.gz
ports-4f9b0453a8027735a5366c0e8724c7f6c4ad2487.zip
Fix usage of USE_GITHUB, multiple downloads, and WRKSRC_SUBDIR.
PR: 246196 Submitted by: Sergei Vyshenski
Notes
Notes: svn path=/head/; revision=568797
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 12e5843337a2..29860cf45a26 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1702,7 +1702,7 @@ CONFIGURE_ENV+= PATH=${PATH}
.if defined(WRKSRC)
DEV_WARNING+= "You are using USE_GITHUB and WRKSRC is set which is wrong. Set GH_PROJECT correctly, set WRKSRC_SUBDIR or remove WRKSRC entirely."
.endif
-WRKSRC?= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}
+WRKSRC?= ${WRKDIR}/${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}
.endif
.if !default(IGNORE_MASTER_SITE_GITLAB) && defined(USE_GITLAB) && empty(USE_GITLAB:Mnodefault)