Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Feb 2002 06:44:46 -0500 (EST)
From:      Brian <brian@bb.strudelline.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34659: Proposed change to Mozilla port's Makefile.
Message-ID:  <20020206114446.61D094238@mail1.bb.strudelline.net>

next in thread | raw e-mail | index | archive | help

>Number:         34659
>Category:       ports
>Synopsis:       Proposed change to Mozilla port's Makefile.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 06 03:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020206114446.61D094238>