aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2016-12-26 22:12:26 +0800
committerwen <wen@FreeBSD.org>2016-12-26 22:12:26 +0800
commit30054b86576746c9907d634c0a43019376c179a0 (patch)
tree51d7e6eb35ecc0f71ddeaa231ed800498216bff1 /lang
parent498fe43b40b44b4b6048709123ec51d1da390ae6 (diff)
downloadfreebsd-ports-gnome-30054b86576746c9907d634c0a43019376c179a0.tar.gz
freebsd-ports-gnome-30054b86576746c9907d634c0a43019376c179a0.tar.zst
freebsd-ports-gnome-30054b86576746c9907d634c0a43019376c179a0.zip
- Fix the pkg-plist when build with WITHOUT_NIS=yes
Diffstat (limited to 'lang')
-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