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. Fix: Patch attached with submission follows:
Maintainer of sysutils/busybox, Please note that PR ports/155789 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/155789 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->sunpoet I will take it.
Looks great, thanks! Chris
sunpoet 2011-03-23 15:11:33 UTC FreeBSD ports repository Modified files: sysutils/busybox Makefile Log: - Respect WITH_DEBUG: do not strip the binary by default - Use bsd.port.mk PR: ports/155789 Submitted by: Vitaly Magerya <vmagerya@gmail.com> Approved by: Chris Rees <utisoft@gmail.com> (maintainer) Revision Changes Path 1.13 +2 -3 ports/sysutils/busybox/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Thanks!