Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2014 09:47:37 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375221 - in head/lang: python32 python33 python34
Message-ID:  <201412220947.sBM9lbX8033166@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412220947.sBM9lbX8033166>