Skip rarely needed maintainer tools when not available#17406
Skip rarely needed maintainer tools when not available#17406dg0yt wants to merge 1 commit intomicrosoft:masterfrom
Conversation
|
cc @Neumann-A for review this PR. |
Maybe this PR is too invasive or too naive because it effectively pretends that these tools are available. It might be safer to touch those environment variables only in the ports which actually do not need to run these tools. OTOH, it seems to uncover hard dependencies. |
Actually, this was broken before. However, it is clear now that autopoint is a hard requirement for building fontconfig. |
This is a third alternative (after #17227/#17278 (CI provisioning) and #17317 (lightweight feature)) to solve the problem of missing maintainer tools
autopoint,gtkdocize.This is the fastest solution for vcpkg ports which don't really need to update to these parts of the build systems. It solves the issue both for CI and for vcpkg users.
The tools are still used when provided by environment variables (set by the portfile or toolchain file), found in the host system, or of found in matching vcpkg tools directories.
What does your PR fix?
Fixes [libidn2] build failure on osx pipeline #17057, [libtasn1] build failure in osx pipeline #17098.
Which triplets are supported/not supported? Have you updated the CI baseline?
all, -/-
Does your PR follow the maintainer guide?
-/-
If you have added/updated a port: Have you run
./vcpkg x-add-version --alland committed the result?-/-