aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2018-01-12 20:59:00 +0800
committermat <mat@FreeBSD.org>2018-01-12 20:59:00 +0800
commit021e803433e624baa6303a9d092895b4fe6ca14b (patch)
tree14070647e788b02fee90c8da851f1e66eb3ac18d /Mk
parent943c5fb7520c290513210ddd6e0145aae7ce7f68 (diff)
downloadfreebsd-ports-gnome-021e803433e624baa6303a9d092895b4fe6ca14b.tar.gz
freebsd-ports-gnome-021e803433e624baa6303a9d092895b4fe6ca14b.tar.zst
freebsd-ports-gnome-021e803433e624baa6303a9d092895b4fe6ca14b.zip
Add another solution to the WRKSRC+USE_GITHUB warning.
Sponsored by: Absolight
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 258ff7d4899e..e30e1b0311a0 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1673,7 +1673,7 @@ CONFIGURE_ENV+= PATH=${PATH}
.if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB) && empty(USE_GITHUB:Mnodefault)
.if defined(WRKSRC)
-DEV_WARNING+= "You are using USE_GITHUB and WRKSRC is set which is wrong. Set GH_PROJECT correctly, or set WRKSRC_SUBDIR instead."
+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}
.endif