Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2022 09:43:02 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>
Subject:   graphics/libavif: libjxl is linked if pkgconf is installed
Message-ID:  <PSAPR03MB5639E3A513F6899898381F89FA649@PSAPR03MB5639.apcprd03.prod.outlook.com>

next in thread | raw e-mail | index | archive | help
Hello.

For libavif with option AOM enabled, libjxl may or may not be linked depending on whether or not pkgconf is installed.
This is because the variable _AOM_LDFLAGS in file ${WRKSRC}/cmake/Modules/Findaom.cmake of libavif changes.
The value of _AOM_LDFLAGS comes from `pkg-config --libs aom`, which includes -ljxl because the file /usr/local/libdata/pkgconfig/aom.pc contains "Requires: libjxl".

This may be a problem that requires changing libjxl to Requires.private on multimedia/aom side, not libavif.

Regards.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAPR03MB5639E3A513F6899898381F89FA649>