[Bug 267399] lang/python311 fails to package if WITHOUT_NIS defined in src.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Oct 2022 08:32:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267399

            Bug ID: 267399
           Summary: lang/python311 fails to package if WITHOUT_NIS defined
                    in src.conf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: raivo@lehma.com
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

Python 3.11 fails to package if WITHOUT_NIS=true is defined in /etc/src.conf.

pkg-static: Unable to access file
/wrkdirs/usr/ports/lang/python311/work/stage/usr/local/lib/python3.11/lib-dynload/nis.cpython-311.so:No
such file or directory

This is due to the conditional %%NO_NIS%% having been removed from pkg-plist in
the case of 3.11.

3.10:
%%NO_NIS%%lib/python%%XYDOT%%/lib-dynload/nis.cpython-%%XY%%%%ABI%%.so

3.11:
lib/python%%XYDOT%%/lib-dynload/nis.cpython-%%XY%%.so

I recommend returning it.

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