From owner-freebsd-gecko@FreeBSD.ORG Tue Jun 28 10:00:23 2011 Return-Path: Delivered-To: gecko@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB5A31065674 for ; Tue, 28 Jun 2011 10:00:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 701BE8FC19 for ; Tue, 28 Jun 2011 10:00:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5SA0NQL068477 for ; Tue, 28 Jun 2011 10:00:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5SA0NHh068476; Tue, 28 Jun 2011 10:00:23 GMT (envelope-from gnats) Resent-Date: Tue, 28 Jun 2011 10:00:23 GMT Resent-Message-Id: <201106281000.p5SA0NHh068476@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: gecko@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pan Tsu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA401106566C for ; Tue, 28 Jun 2011 09:59:40 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by mx1.freebsd.org (Postfix) with ESMTP id 84C678FC08 for ; Tue, 28 Jun 2011 09:59:40 +0000 (UTC) Received: by fxe6 with SMTP id 6so45169fxe.17 for ; Tue, 28 Jun 2011 02:59:39 -0700 (PDT) Received: by 10.223.2.141 with SMTP id 13mr6683573faj.68.1309255177986; Tue, 28 Jun 2011 02:59:37 -0700 (PDT) Received: from localhost (tor-exit-router37-readme.formlessnetworking.net [199.48.147.37]) by mx.google.com with ESMTPS id m5sm23983fai.25.2011.06.28.02.59.33 (version=SSLv3 cipher=OTHER); Tue, 28 Jun 2011 02:59:37 -0700 (PDT) Message-Id: <86fwmup98r.fsf@gmail.com> Date: Tue, 28 Jun 2011 13:59:16 +0400 From: Pan Tsu To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/158380: [patch] www/firefox: use less space/memory during build X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2011 10:00:23 -0000 >Number: 158380 >Category: ports >Synopsis: [patch] www/firefox: use less space/memory during build >Confidential: no >Severity: non-critical >Priority: low >Responsible: gecko >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 28 10:00:23 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Pan Tsu >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: Shave space consumed by WRKDIR for non-debug build: - don't generate debugging info in .o files by default[1] - strip(1) programs and libraries after linking [1] https://bugzilla.mozilla.org/show_bug.cgi?id=636695 >How-To-Repeat: >Fix: --- a.diff begins here --- Index: Mk/bsd.gecko.mk =================================================================== RCS file: /a/.cvsup/ports/Mk/bsd.gecko.mk,v retrieving revision 1.28 diff -u -p -r1.28 bsd.gecko.mk --- Mk/bsd.gecko.mk 21 Jun 2011 21:12:30 -0000 1.28 +++ Mk/bsd.gecko.mk 28 Jun 2011 09:21:36 -0000 @@ -638,6 +649,7 @@ MOZ_OPTIONS+= --enable-necko-protocols=$ MOZ_OPTIONS+= --with-system-zlib=/usr \ --with-gssapi=${KRB5_HOME} \ --disable-auto-deps \ + --disable-debug-symbols \ --enable-chrome-format=jar \ --disable-cpp-exceptions \ --disable-cpp-rtti \ @@ -673,6 +681,8 @@ MOZ_OPTIONS+= --disable-gnomevfs .if !defined(STRIP) || ${STRIP} == "" MOZ_OPTIONS+= --disable-strip --disable-install-strip +.else +MOZ_OPTIONS+= --enable-strip --enable-install-strip .endif .if defined(WITH_DEBUG) --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: