Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2007 10:52:24 GMT
From:      Alex Deiter <tiamat@komi.mts.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/115941: Missed file in lang/python25 if NO_NIS defined
Message-ID:  <200708301052.l7UAqOKa048466@www.freebsd.org>
Resent-Message-ID: <200708301100.l7UB02HU028722@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         115941
>Category:       ports
>Synopsis:       Missed 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:02 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@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:



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