Date: Thu, 29 May 2014 11:09:29 -0400 From: Vick Khera <vivek@khera.org> To: FreeBSD Ports List <ports@freebsd.org> Subject: forcing specific Java version as dependency Message-ID: <CALd%2Bdcf8T5pp74%2BH=Z-Kytb-fbjRyp4tGTKY16DHyACzBrySLA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I'm using poudriere to build packages to use on my servers (I have about 20 of them). One of the packages I need is www/tomcat-native. However, the way poudriere builds the ports, they are built in an empty jail, so when tomcat-native selects the JDK to use, it picks openjdk6 to install as a dependency. I need it to build against OpenJDK7, since that is what my main software needs to run. I read through the bsd.java.mk file and could not find a knob to set (or even a hack around it) to get tomcat-native to pick openjdk7 as my preferred JDK. Please advise how to accomplish this. It is important to be able to do this if we want to be able to have binary-package only FreeBSD management. Thanks!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALd%2Bdcf8T5pp74%2BH=Z-Kytb-fbjRyp4tGTKY16DHyACzBrySLA>