aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python32
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2014-12-22 17:47:36 +0800
committermva <mva@FreeBSD.org>2014-12-22 17:47:36 +0800
commit471ed45b6fa482e81dd96abc654739532de118af (patch)
treea39c4d7fe9da35859d4e8f0b8b084595283dd3c2 /lang/python32
parente0bab41338b72236d3bed8f4fedfed5a8e7b2be4 (diff)
downloadfreebsd-ports-graphics-471ed45b6fa482e81dd96abc654739532de118af.tar.gz
freebsd-ports-graphics-471ed45b6fa482e81dd96abc654739532de118af.tar.zst
freebsd-ports-graphics-471ed45b6fa482e81dd96abc654739532de118af.zip
- Python 3.x: try to improve the NIS detection for FreeBSD
PR: 193650 With hat: python
Diffstat (limited to 'lang/python32')
-rw-r--r--lang/python32/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index 9ba8a8e45f6..553f8471f05 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -91,8 +91,8 @@ PLIST_FILES+= libdata/pkgconfig/python-3.2%%ABI%%.pc
CFLAGS+= -DPYTHON_DEFAULT_RECURSION_LIMIT=900
.endif
-# See http://bugs.freebsd.org/115940
-.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS) # the world with NO_NIS
+# See http://bugs.freebsd.org/115940 and http://bugs.freebsd.org/193650
+.if defined(WITHOUT_NIS) || !exists(/usr/include/rpcsvc/yp_prot.h)
PLIST_SUB+= NO_NIS="@comment "
.else
PLIST_SUB+= NO_NIS=""