aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-03-29 21:11:26 +0800
committermat <mat@FreeBSD.org>2017-03-29 21:11:26 +0800
commitd2f34de8d68929fa7f18b81a1d39a61417d4de30 (patch)
treedb4a79948e19ac02bf09e62212325c0b783ade18 /Mk
parented09646c5a7a6841efb110ddd53e953b954e0593 (diff)
downloadfreebsd-ports-gnome-d2f34de8d68929fa7f18b81a1d39a61417d4de30.tar.gz
freebsd-ports-gnome-d2f34de8d68929fa7f18b81a1d39a61417d4de30.tar.zst
freebsd-ports-gnome-d2f34de8d68929fa7f18b81a1d39a61417d4de30.zip
Do not overwrite WRKSRC when USE_GITHUB=nodefault.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D10091
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 27b9adc9adc8..3d8eeb0322be 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1572,7 +1572,7 @@ CONFIGURE_ENV+= PKG_CONFIG_SYSROOT_DIR="${CROSS_SYSROOT}"
.endif
WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work
-.if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB)
+.if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB) && empty(USE_GITHUB:Mnodefault)
WRKSRC?= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}
.endif
# If the distname is not extracting into a specific subdirectory, have the