[Bug 262205] Mk/bsd.wx.mk not working correctly when trying to compile graphics/hugin

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 26 Feb 2022 09:52:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262205

            Bug ID: 262205
           Summary: Mk/bsd.wx.mk not working correctly when trying to
                    compile graphics/hugin
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
                CC: fuz@fuz.su
                CC: fuz@fuz.su
             Flags: maintainer-feedback?(fuz@fuz.su)

Scenario:
- FreeBSD 12.2 latest
- ports latest
- ports git commit 337a99bc8b23f5353faab2009533cae0af699789 changed kicad to
use wxgtk31 instead of wxgtk30
- forcibly removing wxgtk30
- Using portmaster to update ports
- Using portmaster to update graphics/hugin (manually since it did not get a
version bump)

Result:
- graphics/hugin still tries to pull in wxgtk30 although in the Makefile it
specifies "USE_WX= 3.0+"
- An unnecessary second version of wxgtk is installed

Expected result:
- Since graphics/hugin/Makefile specifies "USE_WX= 3.0+" it should pick up the
newly installed wxgtk31

Notes:
- It seems that Mk/bsd.wx.mk either does not properly take into account the
trailing "+" in the USE_WX specification or does not find the installed
wxgtk31.

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