Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2011 17:34:21 GMT
From:      Vitaly Magerya <vmagerya@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/155789: sysutils/busybox: don't strip the binary when WITH_DEBUG is set
Message-ID:  <201103221734.p2MHYLPF097459@red.freebsd.org>
Resent-Message-ID: <201103221740.p2MHe1fA000376@freefall.freebsd.org>

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

>Number:         155789
>Category:       ports
>Synopsis:       sysutils/busybox: don't strip the binary when WITH_DEBUG is set
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 22 17:40:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Vitaly Magerya
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
>Description:
Busybox build system strips the binary by default, so even if you 
build the port with WITH_DEBUG defined the resulting binary is still
stripped.

The attached patch disables the stripping that the build system
performs, and allows our port system to strip the binary when
necessary. This way WITH_DEBUG actually works.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN busybox.orig/Makefile busybox/Makefile
--- busybox.orig/Makefile	2011-03-13 13:56:26.000000000 +0200
+++ busybox/Makefile	2011-03-22 19:15:24.000000000 +0200
@@ -22,6 +22,8 @@
 
 PLIST_FILES=	bin/busybox
 
+MAKE_ARGS=	SKIP_STRIP=y
+
 .include <bsd.port.pre.mk>
 
 post-patch:


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



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