Date: Wed, 1 Jun 2005 11:19:38 +0200 From: "Andreas Kohn" <andreas@syndrom23.de> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/81753: [PATCH] add support for other mozilla's to eclipse Message-ID: <1117617578.0@klamath.ankon.de.eu.org> Resent-Message-ID: <200506010920.j519K1jL034223@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 81753 >Category: ports >Synopsis: [PATCH] add support for other mozilla's to eclipse >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jun 01 09:20:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andreas Kohn >Release: FreeBSD 6.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 6.0-CURRENT #7: Thu May 19 15:29:28 CEST 2005 root@klamath.ankon.de.eu.org:/usr/obj/usr/src/sys/KLAMATH www/mozilla-devel installed in version mozilla-1.8.b1_2,2 >Description: java/eclipse requires firefox or mozilla to build, although it would also work with mozila-devel IFF java/eclipse/Makefile knew about "mozilla-devel" as a valid value for WITH_MOZILLA. Depending on the system, eclipse would either install www/mozilla, or fail to build at all if only mozilla-devel is installed. >How-To-Repeat: # cd /usr/ports/java/eclipse # make WITH_MOZILLA=mozilla-devel [watch it building www/mozilla or failing] [apply patch to java/eclipse/Makefile] # make WITH_MOZILLA=mozilla-devel [ watch it build with your installed mozilla-devel headers/libs] >Fix: --- eclipse-mozilla-devel.patch begins here --- --- Makefile.orig Thu Feb 24 03:24:37 2005 +++ Makefile Thu Feb 24 19:24:19 2005 @@ -48,9 +48,9 @@ ECLIPSE_WS= gtk PLIST_SUB+= GTK:="" PLIST_SUB+= MOTIF:="@comment " -.if defined(WITH_MOZILLA) && ${WITH_MOZILLA} == "firefox" -BUILD_DEPENDS+= firefox:${PORTSDIR}/www/firefox -BROWSER= firefox +.if defined(WITH_MOZILLA) +BROWSER= ${WITH_MOZILLA} +BUILD_DEPENDS+= ${BROWSER}:${PORTSDIR}/www/${BROWSER} .else BUILD_DEPENDS+= mozilla:${PORTSDIR}/www/mozilla BROWSER= mozilla --- eclipse-mozilla-devel.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1117617578.0>