svn commit: r375221 - in head/lang: python32 python33 python34
Marcus von Appen
mva at FreeBSD.org
Mon Dec 22 09:47:38 UTC 2014
Author: mva
Date: Mon Dec 22 09:47:36 2014
New Revision: 375221
URL: https://svnweb.freebsd.org/changeset/ports/375221
QAT: https://qat.redports.org/buildarchive/r375221/
Log:
- Python 3.x: try to improve the NIS detection for FreeBSD
PR: 193650
With hat: python
Modified:
head/lang/python32/Makefile
head/lang/python33/Makefile
head/lang/python34/Makefile
Modified: head/lang/python32/Makefile
==============================================================================
--- head/lang/python32/Makefile Mon Dec 22 09:45:37 2014 (r375220)
+++ head/lang/python32/Makefile Mon Dec 22 09:47:36 2014 (r375221)
@@ -91,8 +91,8 @@ PLIST_FILES+= libdata/pkgconfig/python-3
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=""
Modified: head/lang/python33/Makefile
==============================================================================
--- head/lang/python33/Makefile Mon Dec 22 09:45:37 2014 (r375220)
+++ head/lang/python33/Makefile Mon Dec 22 09:47:36 2014 (r375221)
@@ -85,8 +85,8 @@ PLIST_FILES+= libdata/pkgconfig/python-3
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=""
Modified: head/lang/python34/Makefile
==============================================================================
--- head/lang/python34/Makefile Mon Dec 22 09:45:37 2014 (r375220)
+++ head/lang/python34/Makefile Mon Dec 22 09:47:36 2014 (r375221)
@@ -100,8 +100,8 @@ PLIST_FILES+= libdata/pkgconfig/python-3
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
More information about the svn-ports-all
mailing list