aboutsummaryrefslogtreecommitdiff
path: root/lang/python27
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2016-12-26 14:12:26 +0000
committerWen Heping <wen@FreeBSD.org>2016-12-26 14:12:26 +0000
commitab10a180afba1508d2ba728b8521142a97aee5c4 (patch)
tree51d7e6eb35ecc0f71ddeaa231ed800498216bff1 /lang/python27
parent090b73fd9087aa6f6d3247ec5a932b02caf74911 (diff)
downloadports-ab10a180afba1508d2ba728b8521142a97aee5c4.tar.gz
ports-ab10a180afba1508d2ba728b8521142a97aee5c4.zip
- Fix the pkg-plist when build with WITHOUT_NIS=yes
Notes
Notes: svn path=/head/; revision=429522
Diffstat (limited to 'lang/python27')
-rw-r--r--lang/python27/Makefile1
-rw-r--r--lang/python27/pkg-plist2
2 files changed, 2 insertions, 1 deletions
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