Re: graphics/jasper failed again !!!

From: Stefan Esser <se_at_FreeBSD.org>
Date: Mon, 28 Feb 2022 14:11:57 UTC
Am 28.02.22 um 11:47 schrieb KIRIYAMA Kazuhiko:
> Hi, list
> 
> graphics/jasper failed again at same point before :

Hi,

do you have pkg-config (pkgconf package) installed?

I was about to create a PR, since there have been a number
of ports that fail if pkg-config is found during the port's
configure phase.

This could be an issue in one of the following components
involved:

- cmake
- pkg-config (unlikely)
- the glut.pc file

This issue does not occur when building with poudriere,
since the port does not depend on pkg-config and thus
there is no pkg-config binary in the build jail.

But when some other port has been installed that brought
pkg-config onto the system as a dependency (and the Mesa
ports have "USES=pkgconfig" and cause pkg-config to be
installed on the base system), then incomplete data is
read from the glut.pc file and cmake does not pass the
required options to the compiler ...

Regards, STefan