svn commit: r476605 - head/Mk/Uses

David Naylor dbn at FreeBSD.org
Tue Aug 7 16:40:54 UTC 2018


Author: dbn
Date: Tue Aug  7 16:40:53 2018
New Revision: 476605
URL: https://svnweb.freebsd.org/changeset/ports/476605

Log:
  USES=linux: DEV_ERROR if linux package does not exist
  
  PR:		225768
  Approved by:	tijl@

Modified:
  head/Mk/Uses/linux.mk

Modified: head/Mk/Uses/linux.mk
==============================================================================
--- head/Mk/Uses/linux.mk	Tue Aug  7 15:36:54 2018	(r476604)
+++ head/Mk/Uses/linux.mk	Tue Aug  7 16:40:53 2018	(r476605)
@@ -173,6 +173,9 @@ BUILD_DEPENDS+=		${linux_${i:C/:.*//}_DEP}
 .if ${_i_args:Mrun} || empty(_i_args)
 RUN_DEPENDS+=		${linux_${i:C/:.*//}_DEP}
 .endif
+.if !defined(linux_${i:C/:.*//}_DEP)
+DEV_ERROR+=		"USE_LINUX=${i}: package does not exist"
+.endif
 .endfor
 
 .ifdef USE_LINUX_RPM


More information about the svn-ports-head mailing list