- Python 3.x: try to improve the NIS detection for FreeBSD

PR:		193650
With hat:	python
This commit is contained in:
Marcus von Appen 2014-12-22 09:47:36 +00:00
parent 130b611758
commit 4a19da7af9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375221
3 changed files with 6 additions and 6 deletions

View file

@ -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=""

View file

@ -85,8 +85,8 @@ PLIST_FILES+= libdata/pkgconfig/python-3.3%%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=""

View file

@ -100,8 +100,8 @@ PLIST_FILES+= libdata/pkgconfig/python-3.4%%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 "
DISABLED_EXTENSIONS+= nis
.else