--- - branch: MAIN date: Sun May 10 06:05:35 UTC 2020 files: - new: '1.26' old: '1.25' path: pkgsrc/mk/tools/perl.mk pathrev: pkgsrc/mk/tools/perl.mk@1.26 type: modified id: 20200510T060535Z.43f1bd0a570cfedeabe1cd85875af2475d63a3cf log: | mk/tools/perl.mk: allow to silence the USE_TOOLS+=perl warning Packages that don't declare USE_TOOLS+=perl and whose configure script invokes perl produce a warning. Usually warnings are ignored, but they can also be configured as errors, for example during a strict bulk build. In this situation it is necessary to override the default behavior of the perl tool to fail silently. Up to now, defining both TOOLS_BROKEN+=perl and TOOLS_FAIL+=perl produced a duplicate make target. To handle this situation, let TOOLS_BROKEN+=perl take precedence over TOOLS_FAIL+=perl. This is much easier than finding out in each case how to disable the perl check in the configure script, which is most often done by adding any of the following to CONFIGURE_ENV: PERL=#none, ac_cv_prog_PERL=#none, ac_cv_path_PERL=#none. module: pkgsrc subject: 'CVS commit: pkgsrc/mk/tools' unixtime: '1589090735' user: rillig