Subject: pkg/6977: the python package unconditionally strips the installed python binary
To: None <gnats-bugs@gnats.netbsd.org>
From: None <woods@proven.weird.com>
List: netbsd-bugs
Date: 02/09/1999 15:54:26
>Number:         6977
>Category:       pkg
>Synopsis:       the python package unconditionally strips the installed python binary
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb  9 13:05:02 1999
>Last-Modified:
>Originator:     Greg A. Woods
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Release:        pkgsrc-current Tue Feb  9 08:18:01 EST 1999
>Environment:

System: NetBSD proven 1.3I i386

>Description:

	The python package install unconditionally strips the python
	binary regardless of any settings to the contrary in /etc/mk.conf

>How-To-Repeat:

	Try to run python as installed from pkgsrc under a debugger.

>Fix:

	apply the following patch (note the line numbers are off):

	(other instances of such abberations should also be grepped out
	and destroyed)

Index: lang/python/Makefile
===================================================================
RCS file: /cvs/NetBSD/pkgsrc/lang/python/Makefile,v
retrieving revision 1.1.1.10
diff -c -r1.1.1.10 lang/python/Makefile
*** lang/python/Makefile	1999/01/18 18:02:06	1.1.1.10
--- lang/python/Makefile	1999/02/09 20:26:47
***************
*** 41,48 ****
  post-configure:
  	${SED} -e 's/@NO64BIT@/${NO64BIT}/' -e 's/@NOSHARED@/${NOSHARED}/' \
  		${FILESDIR}/Setup >${WRKSRC}/Modules/Setup
- 
- post-install:
- 	strip ${PREFIX}/bin/python
  
  .include "../../mk/bsd.pkg.mk"
--- 45,49 ----
>Audit-Trail:
>Unformatted: