svn commit: r458823 - head/Mk

Mathieu Arnold mat at FreeBSD.org
Fri Jan 12 12:59:01 UTC 2018


Author: mat
Date: Fri Jan 12 12:59:00 2018
New Revision: 458823
URL: https://svnweb.freebsd.org/changeset/ports/458823

Log:
  Add another solution to the WRKSRC+USE_GITHUB warning.
  
  Sponsored by:	Absolight

Modified:
  head/Mk/bsd.port.mk   (contents, props changed)

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Fri Jan 12 12:58:51 2018	(r458822)
+++ head/Mk/bsd.port.mk	Fri Jan 12 12:59:00 2018	(r458823)
@@ -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


More information about the svn-ports-all mailing list