ports/116906: [PATCH] editors/openoffice.org-2: Properly set Java versions allowed

Naram Qashat cyberbotx at cyberbotx.com
Thu Oct 4 21:53:42 PDT 2007


The problem was that _JAVA_VERSION (from bsd.java.bk) was being set to "1.1
1.2 1.3 1.4 1.5 1.6" even though the Makefile for OpenOffice.org says
JAVA_VERSION should be "1.4 1.5", and the reason is because USE_JAVA was
before the include of bsd.port.pre.mk.  I did have diablo-jdk15 installed,
but OpenOffice.org won't compile with it, nor will it compile with JDK 1.6,
which the port was trying to use before moving USE_JAVA.  Moving USE_JAVA
corrected the problem with _JAVA_VERSION so it would be properly set to "1.4
1.5" like it should, and let me use the jdk15 port as opposed to jdk16 or
diablo-jdk15.

Now, I don't know if this means the port should also be modified to not try
to use the "freebsd" version but instead only work with the "bsdjava"
version.  I'll leave that up to you.  But I experienced OpenOffice.org
refusing to finish it's build with the "freebsd" diablo-jdk15 port
installed.

Thanks,
Naram Qashat

----- Original Message ----- 
From: "Maho NAKATA" <chat95 at mac.com>
To: <edwin at FreeBSD.org>
Cc: <freebsd-ports-bugs at FreeBSD.org>; <openoffice at FreeBSD.org>
Sent: Thursday, October 04, 2007 8:54 PM
Subject: Re: ports/116906: [PATCH] editors/openoffice.org-2: Properly set
Java versions allowed


> From: edwin at FreeBSD.org
> Subject: Re: ports/116906: [PATCH] editors/openoffice.org-2: Properly set
Java versions allowed
> Date: Thu, 04 Oct 2007 23:02:01 +0000 (GMT)
>
> > Synopsis: [PATCH] editors/openoffice.org-2: Properly set Java versions
allowed
> >
> > Responsible-Changed-From-To: freebsd-ports-bugs->openoffice
> > Responsible-Changed-By: edwin
> > Responsible-Changed-When: Thu Oct 4 23:02:00 UTC 2007
> > Responsible-Changed-Why:
> > Over to maintainer (via the GNATS Auto Assign Tool)
> >
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=116906
>
> I don't object for committing your patch but, I'm not clear about your
patch.
>
> I tried by
>
> # mv /usr/local/diablo-jdk1.5.0 /usr/local/diablo-jdk1.5.0_
> root# make
> ===>   openoffice.org-2.3.0_1 depends on file:
/usr/local/diablo-jdk1.5.0/bin/java - not found
> ===>    Verifying install for /usr/local/diablo-jdk1.5.0/bin/java in
/usr/ports/java/diablo-jdk15
> ===>  diablo-jdk-1.5.0.07.01_7 :
>  Because of licensing restrictions, you must fetch the distribution
>  manually.
>
>  Please open http://java.sun.com/javase/downloads/index.jsp
>  in a web browser and follow the "Download" link for
>  "JDK US DST Timezone Update Tool - 1.2.2" to obtain the
>  time zone update file, tzupdater-1_2_2-2007g.zip.
>
> .*** Error code 1
>
> Stop in /work/cvsup/ports/java/diablo-jdk15.
> *** Error code 1
>
> Stop in /work/ports/editors/openoffice.org-2.
>
>
> It means that JDK 1.5 is properly selected for FreeBSD 6, or I'm missing
something?
>
>
> _______________________________________________
> freebsd-ports-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
> To unsubscribe, send any mail to
"freebsd-ports-bugs-unsubscribe at freebsd.org"
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.14.0/1048 - Release Date: 10/3/2007
8:22 PM
>
>



More information about the freebsd-openoffice mailing list