Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2018 16:40:53 +0000 (UTC)
From:      David Naylor <dbn@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476605 - head/Mk/Uses
Message-ID:  <201808071640.w77Germt027613@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808071640.w77Germt027613>