git: 86d267c8e466 - 2022Q4 - lang/python311: Fix packaging when WITHOUT_NIS is defined

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Fri, 28 Oct 2022 09:14:23 UTC
The branch 2022Q4 has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=86d267c8e4662446cc51fa32dd2399fcbfff90f6

commit 86d267c8e4662446cc51fa32dd2399fcbfff90f6
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2022-10-28 08:50:56 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-10-28 09:13:41 +0000

    lang/python311: Fix packaging when WITHOUT_NIS is defined
    
    PR:             267399
    Reported by:    Raivo Hool <raivo@lehma.com>
    
    (cherry picked from commit e59b196194fc817e4e7cc35db056233f53f90226)
---
 lang/python311/pkg-plist | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/python311/pkg-plist b/lang/python311/pkg-plist
index e9d0eb33f2ed..c6e77bf8ef4b 100644
--- a/lang/python311/pkg-plist
+++ b/lang/python311/pkg-plist
@@ -2974,7 +2974,7 @@ lib/python%%XYDOT%%/lib-dynload/fcntl.cpython-%%XY%%%%ABI%%.so
 lib/python%%XYDOT%%/lib-dynload/grp.cpython-%%XY%%%%ABI%%.so
 lib/python%%XYDOT%%/lib-dynload/math.cpython-%%XY%%%%ABI%%.so
 lib/python%%XYDOT%%/lib-dynload/mmap.cpython-%%XY%%%%ABI%%.so
-lib/python%%XYDOT%%/lib-dynload/nis.cpython-%%XY%%.so
+%%NO_NIS%%lib/python%%XYDOT%%/lib-dynload/nis.cpython-%%XY%%.so
 lib/python%%XYDOT%%/lib-dynload/ossaudiodev.cpython-%%XY%%%%ABI%%.so
 lib/python%%XYDOT%%/lib-dynload/pyexpat.cpython-%%XY%%%%ABI%%.so
 lib/python%%XYDOT%%/lib-dynload/readline.cpython-%%XY%%%%ABI%%.so