[Bug 263185] graphics/gd: picks up libimagequant, if installed, without recording the dependency

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 09 Apr 2022 17:57:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263185

            Bug ID: 263185
           Summary: graphics/gd: picks up libimagequant, if installed,
                    without recording the dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dinoex@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
             Flags: maintainer-feedback?(dinoex@FreeBSD.org)
          Assignee: dinoex@FreeBSD.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.