From owner-freebsd-python@FreeBSD.ORG Thu Sep 20 06:40:07 2007 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0772116A417 for ; Thu, 20 Sep 2007 06:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D132113C46B for ; Thu, 20 Sep 2007 06:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8K6e6O0098796 for ; Thu, 20 Sep 2007 06:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8K6e6CH098788; Thu, 20 Sep 2007 06:40:06 GMT (envelope-from gnats) Date: Thu, 20 Sep 2007 06:40:06 GMT Message-Id: <200709200640.l8K6e6CH098788@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Alex Kozlov Cc: Subject: Re: ports/115940: Missed one file in lang/python25 if NO_NIS defined X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Kozlov List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2007 06:40:07 -0000 The following reply was made to PR ports/115940; it has been noted by GNATS. From: Alex Kozlov To: bug-followup@FreeBSD.org, tiamat@komi.mts.ru, spam@rm-rf.kiev.ua Cc: Subject: Re: ports/115940: Missed one file in lang/python25 if NO_NIS defined Date: Thu, 20 Sep 2007 09:30:58 +0300 Hi I think this will be more elegant: Index: lang/python25/Makefile @@ -101,9 +101,9 @@ .endif .if !exists(/usr/bin/ypcat) # the world with NO_NIS +PLIST_SUB+= NIS="@comment " NO_NIS="" -PLIST_SUB+= NO_NIS="@comment " .else +PLIST_SUB+= NIS="" NO_NIS="@comment " -PLIST_SUB+= NO_NIS="" .endif Index: lang/python25/pkg-plist @@ -677,8 +677,7 @@ %%PYTHON_LIBDIR%%/lib-dynload/itertools.so %%PYTHON_LIBDIR%%/lib-dynload/math.so %%PYTHON_LIBDIR%%/lib-dynload/mmap.so +%%NIS%%%%PYTHON_LIBDIR%%/lib-dynload/nis.so +%%NO_NIS%%%%PYTHON_LIBDIR%%/lib-dynload/nis_failed.so -%%NO_NIS%%%%PYTHON_LIBDIR%%/lib-dynload/nis.so %%PYTHON_LIBDIR%%/lib-dynload/operator.so %%PYTHON_LIBDIR%%/lib-dynload/ossaudiodev.so %%PYTHON_LIBDIR%%/lib-dynload/parser.so