[Bug 264824] net/vde2: fix build with PYTHON with python3.10 or update to 2.3.3 without python support

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Jun 2022 11:40:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264824

            Bug ID: 264824
           Summary: net/vde2: fix build with PYTHON with python3.10 or
                    update to 2.3.3 without python support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: vvd@unislabs.com
 Attachment #234853 maintainer-approval?
             Flags:
             Flags: maintainer-feedback?

Created attachment 234853
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234853&action=edit
python 3.10 detection

Before patch:
checking whether /usr/local/bin/python3.10 version >= 2.5... yes
checking for /usr/local/bin/python3.10 version... 3.1
checking for /usr/local/bin/python3.10 platform... freebsd13
checking for /usr/local/bin/python3.10 script directory...
${prefix}/lib/python3.10/site-packages
checking for /usr/local/bin/python3.10 extension module directory...
${exec_prefix}/lib/python3.10/site-packages
checking for python3.1-config... no
checking for python-config... no

$ python -c "import sys; sys.stdout.write(sys.version[:3])"
3.1

$ python -c "import sys;
sys.stdout.write(str(sys.version_info[0])+'.'+str(sys.version_info[1]))"
3.10

After patch:
checking whether /usr/local/bin/python3.10 version >= 2.5... yes
checking for /usr/local/bin/python3.10 version... 3.10
checking for /usr/local/bin/python3.10 platform... freebsd13
checking for /usr/local/bin/python3.10 script directory...
${prefix}/lib/python3.10/site-packages
checking for /usr/local/bin/python3.10 extension module directory...
${exec_prefix}/lib/python3.10/site-packages
checking for python3.10-config... /usr/local/bin/python3.10-config

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