Hi ports@, found the following in devel/jdk/java.port.mk:
[...] .elif ${MODJAVA_VER} == "1.3+" || ${MODJAVA_VER} == "1.4+" ONLY_FOR_ARCHS?= i386 amd64 . if ${NO_BUILD:L} != "yes" JAVA_HOME= ${LOCALBASE}/jdk-1.5.0 BUILD_DEPENDS+= jdk->=1.5.0,<1.6:devel/jdk/1.5 . endif [...] So, I’m curious: Why would MODJAVA_VER = 1.[34]+ imply ‘jdk 1.5 only’? This behaviour is essentially the same for 1.[56]+ too, setting RUN_DEPENDS as expected but forcing a specific jdk version for BUILD_DEPENDS. Can someone please explain if/why this is intended? IMO, for MODJAVA_VER = x.y+, it should detect whether a jdk is already present on the system, and use that as both BUILD_DEPENDS and RUN_DEPENDS (and if not, prompt the user to install the jdk-1.7 package). Cheers, Pascal