Date: Mon, 1 Apr 2019 18:38:37 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r497503 - head/Mk/Uses Message-ID: <201904011838.x31Icbme078890@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Mon Apr 1 18:38:36 2019 New Revision: 497503 URL: https://svnweb.freebsd.org/changeset/ports/497503 Log: Mk/Uses/perl5.mk: Flag invalid USE_PERL5 components Approved by: perl (mat) Differential Revision: https://reviews.freebsd.org/D19776 Modified: head/Mk/Uses/perl5.mk Modified: head/Mk/Uses/perl5.mk ============================================================================== --- head/Mk/Uses/perl5.mk Mon Apr 1 18:08:18 2019 (r497502) +++ head/Mk/Uses/perl5.mk Mon Apr 1 18:38:36 2019 (r497503) @@ -154,6 +154,18 @@ IGNORE= improper use of USE_PERL5 . endif . endif +_USE_PERL5_VALID= build configure extract modbuild modbuildtiny patch run \ + test +_USE_PERL5_UNKNOWN= +. for component in ${_USE_PERL5} +. if empty(_USE_PERL5_VALID:M${component}) +_USE_PERL5_UNKNOWN+= ${component} +. endif +. endfor +. if !empty(_USE_PERL5_UNKNOWN) +IGNORE= has unknown USE_PERL5 components: ${_USE_PERL5_UNKNOWN} +. endif + _USES_POST+= perl5 .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904011838.x31Icbme078890>