ports/81753: [PATCH] add support for other mozilla's to eclipse

Andreas Kohn andreas at syndrom23.de
Wed Jun 1 09:20:02 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list