svn commit: r497503 - head/Mk/Uses
Tobias Kortkamp
tobik at FreeBSD.org
Mon Apr 1 18:38:37 UTC 2019
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
More information about the svn-ports-all
mailing list