ports/74391: devel/darcs: strip the executable

Eugene Ossintsev eugos at gmx.net
Thu Nov 25 22:20:26 UTC 2004


>Number:         74391
>Category:       ports
>Synopsis:       devel/darcs: strip the executable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 25 22:20:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Ossintsev
>Release:        FreeBSD 5.3-RELEASE-p1 i386
>Organization:
>Environment:


System: FreeBSD 5.3-RELEASE-p1 #0: Fri Nov 19 18:29:05 CET 2004
    root at badger.home:/usr/obj/usr/src/sys/BADGER



>Description:


Strip the executable file 'darcs' making both it and also the package 'darcs-x.x.x.tbz' much smaller.


>How-To-Repeat:





>Fix:


--- darcs.diff begins here ---
diff -ruN darcs.orig/Makefile darcs/Makefile
--- darcs.orig/Makefile	Thu Nov 25 22:31:08 2004
+++ darcs/Makefile	Thu Nov 25 23:02:24 2004
@@ -66,4 +66,7 @@
 		 ${WRKSRC}/${MAKEFILE}
 .endif
 
+post-install:
+	@${STRIP_CMD} ${PREFIX}/bin/darcs
+
 .include <bsd.port.post.mk>
--- darcs.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list