ports/115940: Missed one file in lang/python25 if NO_NIS defined

Alex Deiter tiamat at komi.mts.ru
Thu Aug 30 11:00:02 UTC 2007


>Number:         115940
>Category:       ports
>Synopsis:       Missed one file in lang/python25 if NO_NIS defined
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 30 11:00:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Alex Deiter
>Release:        6.2-RELEASE-p7
>Organization:
MTS Komi
>Environment:
FreeBSD builder.fine-solution.ru 6.2-RELEASE-p7fs FreeBSD 6.2-RELEASE-p7fs #0: Thu Aug  2 11:47:13 MSD 2007     root at builder.fine-solution.ru:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Hi,

Port lang/python25 have a missed file:

/usr/local/lib/python2.5/lib-dynload/nis_failed.so

when system build with NO_NIS=YES in /etc/make.conf

Thanks!

>How-To-Repeat:
# cd /usr/ports/lang/python25
# make install deinstall
# find /usr/local/ -type f
/usr/local/lib/python2.5/lib-dynload/nis_failed.so

>Fix:


Patch attached with submission follows:

--- lang/python25/Makefile.orig	Thu Aug 30 12:30:37 2007
+++ lang/python25/Makefile	Thu Aug 30 12:36:38 2007
@@ -220,6 +220,9 @@
 	@${MKDIR} ${MANPREFIX}/man/man1
 	${INSTALL_MAN} ${PYTHON_WRKSRC}/Misc/python.man \
 		${MANPREFIX}/man/man1/${PYTHON_VERSION}.1
+.if !exists(/usr/bin/ypcat) # the world with NO_NIS
+	${RM} ${PYTHON_LIBDIR}/lib-dynload/nis_failed.so
+.endif
 
 .if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
 	for f in ${BIN_SCRIPTS}; do \


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list