Scenario: - FreeBSD 12.3 latest patches - ports latest - Using a program which uses /usr/local/lib/libgd.so Result: - The program fails to start because it cannot dyamically link libimagequant.so - libimagequant has not been installed because no explicit dependcy is recorded for it in libgd Expected result: - The program should start normally. Fix: - Either graphics/gd should be patched to never search for libimagequant, or the latter should be made a dependency of the former. Both approaches can be combined using a port option. -- Martin
To be added to the scenario: - Ports are upgraded using portmaster (on a separate build machine) - graphics/libimagequant is installed on the build machine but not on the target machine
Problem confirmed. I will add an option for support of this library.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e81eb93dd6fe13db218526e8410297dad2a61dfb commit e81eb93dd6fe13db218526e8410297dad2a61dfb Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2022-04-15 06:25:56 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2022-04-15 06:25:56 +0000 graphics/gd: new option LIQ PR: 263185 graphics/gd/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)
Thank you! -- Martin