diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-04-01 18:38:36 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-04-01 18:38:36 +0000 |
commit | b7c871a2db25918c6d73cf73240a036139976328 (patch) | |
tree | 29bf192cd91cd9f7b5551657d2e04d69b4208fbb /Mk | |
parent | Update to 1.5.0 (diff) |
Mk/Uses/perl5.mk: Flag invalid USE_PERL5 components
Approved by: perl (mat)
Differential Revision: https://reviews.freebsd.org/D19776
Notes
Notes:
svn path=/head/; revision=497503
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/perl5.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk index 46b28a365119..a40b65def8e7 100644 --- a/Mk/Uses/perl5.mk +++ b/Mk/Uses/perl5.mk @@ -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 |