Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2007 06:40:06 GMT
From:      Alex Kozlov <spam@rm-rf.kiev.ua>
To:        freebsd-python@FreeBSD.org
Subject:   Re: ports/115940: Missed one file in lang/python25 if NO_NIS defined
Message-ID:  <200709200640.l8K6e6CH098788@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/115940; it has been noted by GNATS.

From: Alex Kozlov <spam@rm-rf.kiev.ua>
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
 



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