ports/115940: Missed one file in lang/python25 if NO_NIS defined
Alex Kozlov
spam at rm-rf.kiev.ua
Wed Sep 19 23:40:07 PDT 2007
The following reply was made to PR ports/115940; it has been noted by GNATS.
From: Alex Kozlov <spam at rm-rf.kiev.ua>
To: bug-followup at FreeBSD.org, tiamat at komi.mts.ru, spam at 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
More information about the freebsd-python
mailing list