diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-03-20 10:05:57 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-03-20 10:05:57 +0800 |
commit | 4a9066b30942395fd969c2343a520a51e7d51435 (patch) | |
tree | 8d9da14d83b753e5713d3f81068846410dfb3762 /Mk | |
parent | 04ef03759d1f21cb8ca17c2684d237b5ad4e21fe (diff) | |
download | freebsd-ports-gnome-4a9066b30942395fd969c2343a520a51e7d51435.tar.gz freebsd-ports-gnome-4a9066b30942395fd969c2343a520a51e7d51435.tar.zst freebsd-ports-gnome-4a9066b30942395fd969c2343a520a51e7d51435.zip |
Add a sanity check for deprecating the old USE_GITHUB syntax.
With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.sanity.mk | 4 |
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 |