ports/146961: [patch] devel/git: strip(1) binaries by default for non-debug builds

Anonymous swell.k at gmail.com
Tue May 25 10:00:18 UTC 2010


>Number:         146961
>Category:       ports
>Synopsis:       [patch] devel/git: strip(1) binaries by default for non-debug builds
>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:   Tue May 25 10:00:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
Mimic bsd.port.mk behavior. This should depend on whether ${STRIP} has
`-s', though. Even better would be to strip binaries by install(1),
e.g. by using BSD_INSTALL_PROGRAM.
--- a.diff begins here ---
Index: devel/git/Makefile
===================================================================
RCS file: /a/.cvsup/ports/devel/git/Makefile,v
retrieving revision 1.86
diff -u -p -r1.86 Makefile
--- devel/git/Makefile	7 May 2010 02:43:37 -0000	1.86
+++ devel/git/Makefile	25 May 2010 09:48:49 -0000
@@ -198,6 +198,10 @@ OPTIONS=	GUI "Enable building of GUI too
 
 .include <bsd.port.options.mk>
 
+.if !defined(WITH_DEBUG)
+ALL_TARGET=	all strip
+.endif
+
 .ifdef (WITH_PERL)
 USE_PERL5=	yes
 MAKE_ENV+=	PERL_PATH=${PERL}
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list