From ab10a180afba1508d2ba728b8521142a97aee5c4 Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Mon, 26 Dec 2016 14:12:26 +0000 Subject: [PATCH] - Fix the pkg-plist when build with WITHOUT_NIS=yes --- lang/python27/Makefile | 1 + lang/python27/pkg-plist | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/python27/Makefile b/lang/python27/Makefile index a7b6b0b9dcb0..a025105e5270 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -2,6 +2,7 @@ PORTNAME= python27 PORTVERSION= ${PYTHON_PORTVERSION} +PORTREVISION= 1 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} DISTNAME= Python-${PORTVERSION} diff --git a/lang/python27/pkg-plist b/lang/python27/pkg-plist index 88b8a73fbdf8..b54f9e0a79f3 100644 --- a/lang/python27/pkg-plist +++ b/lang/python27/pkg-plist @@ -1937,7 +1937,7 @@ lib/python2.7/lib-dynload/grp.so lib/python2.7/lib-dynload/itertools.so lib/python2.7/lib-dynload/math.so lib/python2.7/lib-dynload/mmap.so -lib/python2.7/lib-dynload/nis.so +%%NO_NIS%%lib/python2.7/lib-dynload/nis.so lib/python2.7/lib-dynload/operator.so lib/python2.7/lib-dynload/ossaudiodev.so lib/python2.7/lib-dynload/parser.so