mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Python 3.x: try to improve the NIS detection for FreeBSD
PR: 193650 With hat: python
This commit is contained in:
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
|
@ -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=""
|
||||
|
|
|
@ -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=""
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue