From budbud@bb.strudelline.net  Wed Feb  6 03:45:03 2002
Return-Path: <budbud@bb.strudelline.net>
Received: from mail1.bb.strudelline.net (12-245-116-85.client.attbi.com [12.245.116.85])
	by hub.freebsd.org (Postfix) with ESMTP id 4A6BC37B404
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Feb 2002 03:44:47 -0800 (PST)
Received: by mail1.bb.strudelline.net (Postfix, from userid 1000)
	id 61D094238; Wed,  6 Feb 2002 06:44:46 -0500 (EST)
Message-Id: <20020206114446.61D094238@mail1.bb.strudelline.net>
Date: Wed,  6 Feb 2002 06:44:46 -0500 (EST)
From: Brian <brian@bb.strudelline.net>
Reply-To: Brian <brian@bb.strudelline.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Proposed change to Mozilla port's Makefile.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         34659
>Category:       ports
>Synopsis:       Proposed change to Mozilla port's Makefile.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    reg
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 06 03:50:01 PST 2002
>Closed-Date:    Sun Aug 10 16:11:08 PDT 2003
>Last-Modified:  Sun Aug 10 16:11:08 PDT 2003
>Originator:     Brian
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
none
>Environment:
System: FreeBSD bb.strudelline.net 4.5-STABLE FreeBSD 4.5-STABLE #1: Sun Feb 3 07:01:14 EST 2002 root@:/usr/src/sys/compile/EL_BUBBLY_ONE i386
>Description:
I do not wish to spend the time compiling the mail and news bits of
Mozilla if I do not have to.  The patch below is what I think should
be applied so I do not need to re-apply it after every CVSup of the ports
tree. :> I believe others will use it, as well.  Most of it was ripped
from the current port's method for deciding whether to include
chatzilla.
>How-To-Repeat:
CVSup ports tree and have to re-apply the patch.
>Fix:
Removed --enable-editor.
I've looked in Mozilla's configure script's --help output for anything
mentioning --enable-editor and there was nothing close to that.  I am
assuming the maintainer just bumped the version, since configure did not
complain about a bad argument, perhaps because of backward
compatibility.

Added a check to see if WITHOUT_MAILNEWS was defined.
If so, append --disable-mailnews to configure's arguments.  Else,
rely on the default, which appears to be --enable-mailnews in Mozilla's
configure script.

--- Makefile.orig       Tue Feb  5 16:34:09 2002
+++ Makefile    Tue Feb  5 21:29:03 2002
@@ -43,8 +43,6 @@
                --disable-xterm-updates         \
                --enable-crypto                 \
                --enable-double-buffer          \
-               --enable-editor                 \
-               --enable-mailnews               \
                --enable-mathml                 \
                --enable-optimize="${CFLAGS}"   \
                --enable-pics                   \
@@ -57,6 +55,9 @@
                --with-png=${LOCALBASE}         \
                --with-mng=${LOCALBASE}         \
                --with-pthreads
+.if defined(WITHOUT_MAILNEWS)
+CONFIGURE_ARGS+=       --disable-mailnews
+.endif
 .if !defined(WITHOUT_CHATZILLA)
 CONFIGURE_ARGS+=       --with-extensions=default,irc
 .endif

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->gnome 
Responsible-Changed-By: pat 
Responsible-Changed-When: Wed Feb 6 13:08:51 PST 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34659 
Responsible-Changed-From-To: gnome->reg 
Responsible-Changed-By: ade 
Responsible-Changed-When: Tue Feb 12 19:49:01 PST 2002 
Responsible-Changed-Why:  
Jeremy is looking at a mozilla-lite port right as we speak^Wtype. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34659 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sun Aug 10 16:10:50 PDT 2003 
State-Changed-Why:  
We now have a WITHOUT_MAILNEWS option in Mozilla. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=34659 
>Unformatted:
