ports/55330: make building of mozilla's XMLTerm module optional
Alexander Nedotsukov
bland at mail.ru
Thu Aug 7 01:20:20 UTC 2003
>Number: 55330
>Category: ports
>Synopsis: make building of mozilla's XMLTerm module optional
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 06 18:20:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Alexander Nedotsukov
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD bbnest.dyndns.org 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Mon Aug 4 21:54:29 JST 2003 bland at bbnest.dyndns.org:/usr/obj/usr/src/sys/SU i386
>Description:
At the moment building of XMLTerm extension module is unconditional
wich is not always what expected to be. New WITHOUT_XMLTERM option
supposed to resolve the situation.
Smilar change may be reasonable for mozilla-devel port as well.
>How-To-Repeat:
>Fix:
Apply the patch attached
--- Makefile.patch begins here ---
--- Makefile.orig Thu Aug 7 09:46:41 2003
+++ Makefile Thu Aug 7 10:04:43 2003
@@ -108,12 +108,14 @@
CONFIGURE_ARGS+= --enable-ldap --enable-mailnews
.endif
.endif
-
+MOZ_EXTENSIONS= default
.if !defined(WITHOUT_CHATZILLA)
-CONFIGURE_ARGS+= --enable-extensions=default,irc,xmlterm
-.else
-CONFIGURE_ARGS+= --enable-extensions=default,xmlterm
+MOZ_EXTENSIONS:= ${MOZ_EXTENSIONS},irc
+.endif
+.if !defined(WITHOUT_XMLTERM)
+MOZ_EXTENSIONS:= ${MOZ_EXTENSIONS},xmlterm
.endif
+CONFIGURE_ARGS+= --enable-extensions=${MOZ_EXTENSIONS}
CONFIGURE_ENV= MOZ_INTERNAL_LIBART_LGPL=1
.if defined(WITH_JAVASCRIPT_DEBUGGER)
@@ -179,6 +181,7 @@
@${ECHO_MSG} " WITHOUT_COMPOSER=yes Disables the HTML Composer module"
@${ECHO_MSG} " WITHOUT_LDAP=yes Disables LDAP support within the Mailnews module"
@${ECHO_MSG} " WITHOUT_CHATZILLA=yes Disable the Chatzilla IRC module"
+ @${ECHO_MSG} " WITHOUT_XMLTERM=yes Disable the XMLTerm module"
@${ECHO_MSG} " WITH_JAVASCRIPT_DEBUGGER=yes Enable the DTD and JavaScript debuggers"
@${ECHO_MSG} " WITH_OPTIMIZED_CFLAGS=yes Enable -O2 optimization"
@${ECHO_MSG} ""
--- Makefile.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list