aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.sanity.mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-03-20 02:05:57 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-03-20 02:05:57 +0000
commit10b2398f3b5f96b93882e7339a53c5df4f991f83 (patch)
tree8d9da14d83b753e5713d3f81068846410dfb3762 /Mk/bsd.sanity.mk
parent4a1ab860f4f6fb2cc1ccd498431e04103390214c (diff)
downloadports-10b2398f3b5f96b93882e7339a53c5df4f991f83.tar.gz
ports-10b2398f3b5f96b93882e7339a53c5df4f991f83.zip
Add a sanity check for deprecating the old USE_GITHUB syntax.
With hat: portmgr
Notes
Notes: svn path=/head/; revision=381706
Diffstat (limited to 'Mk/bsd.sanity.mk')
-rw-r--r--Mk/bsd.sanity.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index 78f1995fa694..0f29707d6e6f 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -64,6 +64,10 @@ DEV_ERROR+= "USE_GNOME=pkgconfig is unsupported, please use USES=pkgconfig"
DEV_ERROR+= "USE_ZOPE=yes is unsupported, please use USES=zope instead"
.endif
+.if defined(USE_GITHUB) && defined(GH_COMMIT)
+DEV_WARNING+= "GH_COMMIT is deprecated, please convert GH-\>GHL in MASTER_SITES and set GH_TAGNAME to tag or commit hash and remove GH_COMMIT"
+.endif
+
.if defined(USE_GNOME) && ${USE_GNOME:Mgnomehack}
DEV_WARNING+= "USE_GNOME=gnomehack is deprecated, please use USES=pathfix"
.endif