Subject: pkg/4760: zsh binary isn't stripped during installation
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 12/31/1997 14:07:06
>Number:         4760
>Category:       pkg
>Synopsis:       zsh binary isn't stripped during installation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 31 05:20:02 1997
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Release:        971230
>Environment:
System: NetBSD lyssa 1.3_BETA NetBSD 1.3_BETA (LYSSA) #0: Mon Dec 22 03:43:27 MET 1997 tron@lyssa:/src/src/sys/arch/i386/compile/LYSSA i386

>Description:
NetBSD's zsh package forgets to strip the binary during installation.

>How-To-Repeat:
cd /usr/pkgsrc/shells/zsh
make
make install
file /usr/pkg/bin/zsh

>Fix:
Add this file as "pkgsrc/shells/zsh/patches/patch-ad" to the source tree:

--- Makefile.in.orig	Tue Dec 17 21:14:11 1996
+++ Makefile.in	Wed Dec 31 13:36:44 1997
@@ -52,7 +52,7 @@
 CPPFLAGS = @CPPFLAGS@
 DEFS     = @DEFS@
 CFLAGS   = @CFLAGS@
-LDFLAGS  = @LDFLAGS@
+LDFLAGS  = @LDFLAGS@ -s
 LIBS     = @LIBS@
 
 # ========== YOU SHOULDN'T HAVE TO CHANGE ANYTHING BELOW HERE ==========
>Audit-Trail:
>Unformatted: