Date: Mon, 8 Nov 2010 15:40:11 GMT From: Anonymous <swell.k@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/152043: WITH_DEBUG doesn't work when compiling Firefox Message-ID: <201011081540.oA8FeBEO073527@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/152043; it has been noted by GNATS. From: Anonymous <swell.k@gmail.com> To: kenorb <kenorb@gmail.com> Cc: bug-followup@FreeBSD.org Subject: Re: ports/152043: WITH_DEBUG doesn't work when compiling Firefox Date: Mon, 08 Nov 2010 18:37:59 +0300 Does below patch fixes your issue? It should also fix stripping when STRIP is defined empty or undefined, i.e. when only DEBUG_FLAGS defined. --- a.diff begins here --- Index: Mk/bsd.gecko.mk =================================================================== RCS file: /a/.cvsup/ports/Mk/bsd.gecko.mk,v retrieving revision 1.22 diff -u -p -r1.22 bsd.gecko.mk --- Mk/bsd.gecko.mk 29 Aug 2010 15:16:20 -0000 1.22 +++ Mk/bsd.gecko.mk 8 Nov 2010 15:36:36 -0000 @@ -418,14 +418,14 @@ MOZ_OPTIONS+= --enable-gnomevfs MOZ_OPTIONS+= --disable-gnomevfs .endif +.if !defined(STRIP) || ${STRIP} == "" +MOZ_OPTIONS+= --disable-strip --disable-install-strip +.endif + .if defined(WITH_DEBUG) -MOZ_OPTIONS+= --enable-debug \ - --disable-strip -WITH_LOGGING= yes +MOZ_OPTIONS+= --enable-debug .else -MOZ_OPTIONS+= --disable-debug \ - --enable-optimize=${WITH_OPTIMIZE} \ - --enable-strip +MOZ_OPTIONS+= --disable-debug --enable-optimize=${WITH_OPTIMIZE} .endif .if defined(WITH_JAVA) && defined(_WITH_JAVA) --- a.diff ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011081540.oA8FeBEO073527>