This change makes db-java and its dependant ports only run
with 1.7 which doesn't have a plugin. Also 1.7 can't build
OpenOffice due to the lack of the plugin.
In the case of Java the policy is to allow ports to run
with all the supported and compatible versions. db-java
can run with 1.4+, but we currently only support 1.5 and
up so we allow it to run with 1.5 and up.
If/When Sun releases a GPL plugin I will consider making
1.7 the build depend for all java ports.
On Monday 08 December 2008 7:02:56 pm Sebastian Rother wrote:
> During the compilation of openoffice3 (wich still runs)
> I noticed that OpenOffice and db v4 still have a old Java depency.
>
> After installing jre 1.7 via packages I switched db v4 to jre 1.7 and
> it compiled fine and I noticed no issues yes.
>
> This was tested on -current using i386/mp.
>
> I applied the same change to the openoffice3 Makefile and I see no
> issues so far but it is not yet finished with the build.
>
> --- Makefile.orig Tue Dec 9 01:01:19 2008
> +++ Makefile Tue Dec 9 01:00:42 2008
> @@ -6,7 +6,7 @@
> VERSION= ${REVISION}.6.21
> PKGNAME= ${DISTNAME}
> PKGNAME-main= ${DISTNAME}
> -PKGNAME-java= db-java-${VERSION}p1
> +PKGNAME-java= db-java-${VERSION}p2
> DBLIBDIR= lib/db4
> SHARED_LIBS += db 5.0 # .0.0
> SHARED_LIBS += db_cxx 6.0 # .0.0
> @@ -31,7 +31,7 @@
> MULTI_PACKAGES+=-java
> CONFIGURE_ARGS+=--enable-java
> MODULES+= java
> -MODJAVA_VER= 1.4+
> +MODJAVA_VER= 1.7+
> MODJAVA_JRERUN= Yes
> CONFIGURE_ENV+= JAVAC=${JAVA_HOME}/bin/javac \
> JAR=${JAVA_HOME}/bin/jar \
>
>
> Kind regards,
> Sebastian
>
>