pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45346: devel/xulrunner built with debug symbols

>Number:         45346
>Category:       pkg
>Synopsis:       devel/xulrunner built with debug symbols
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 08 21:05:00 +0000 2011
>Originator:     Pierre Allegraud
>Release:        Current
devel/xulrunner has a "debug" option, not suggested by default. However, the 
libraries are built with debug symbols and are HUGE (140MB). Furthermore, 
linking takes a lot of time.

Add the --disable-debug-symbols in configure.
I m using this patch:

Index: devel/xulrunner/
--- devel/xulrunner/
+++ devel/xulrunner/
@@ -43,10 +43,11 @@
 CONFIGURE_ARGS+=       --enable-debug
 CONFIGURE_ARGS+=       --disable-install-strip
 PLIST.debug=           yes
 CONFIGURE_ARGS+=       --disable-debug
+CONFIGURE_ARGS+=       --disable-debug-symbols
 .if !empty(PKG_OPTIONS:Mmozilla-jit)
 PLIST.jit=             yes

Home | Main Index | Thread Index | Old Index