svn commit: r381706 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Fri Mar 20 02:05:58 UTC 2015


Author: bdrewery
Date: Fri Mar 20 02:05:57 2015
New Revision: 381706
URL: https://svnweb.freebsd.org/changeset/ports/381706
QAT: https://qat.redports.org/buildarchive/r381706/

Log:
  Add a sanity check for deprecating the old USE_GITHUB syntax.
  
  With hat:	portmgr

Modified:
  head/Mk/bsd.sanity.mk

Modified: head/Mk/bsd.sanity.mk
==============================================================================
--- head/Mk/bsd.sanity.mk	Fri Mar 20 02:04:42 2015	(r381705)
+++ head/Mk/bsd.sanity.mk	Fri Mar 20 02:05:57 2015	(r381706)
@@ -64,6 +64,10 @@ DEV_ERROR+=	"USE_GNOME=pkgconfig is unsu
 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


More information about the svn-ports-head mailing list