Commit Graph

29 Commits

Author SHA1 Message Date
kurt
6a13dc6824 - remove devel/jdk/1.5 and lang/kaffe
- adjust java.port.mk for their removal
- bump affected packages
okay jasper@
2011-10-07 13:54:30 +00:00
jasper
991dfa9e3a Revert previous.
As discussed with kurt@ and daniel dickman
2011-09-30 09:10:18 +00:00
jasper
c3fe8f6e32 put JAVA_HOME in SUBST_VARS 2011-09-19 20:03:20 +00:00
jasper
a0c58a8bfe - make it possible to pass extra arguments to ant using MODJAVA_BUILD_ARGS 2011-09-01 17:13:51 +00:00
jasper
522a2595e0 - don't use ${DISTNAME} to construct MODJAVA_{DOC,EXAMPLES}_DIR 2011-09-01 08:03:47 +00:00
jasper
1725972321 Provide a few more convenience variables, of which MODJAVA_JAR_DIR is the most
important.
Ports that install .jar files for public use (ie, in share/java/classes/)
please install unversioned jar files from now on. If a port installs
multiple jar files, use a share/java/classes/<project_name>/ prefix.
This will help other ports to pickup these classes.

discussed with and ok kurt@
2011-08-31 20:33:32 +00:00
jasper
6cc29500d3 Implement MODJAVA_BUILD, and add MODJAVA_BUILD_{DIR,FILE,TARGET}.
When MODJAVA_BUILD is set to 'ant' this adds the correct build dependencies,
as well as providing a do-build target (if not already set by the port).

  discussed with and ok kurt@
2011-08-31 20:00:56 +00:00
jasper
eea5765add Append 'java' to the list of categories.
ok kurt@
2011-08-30 17:16:10 +00:00
kurt
3b1e485094 Correct snafu with pkg version going backwards. Clue bat
beating from espie@ help and okay landry@
2011-01-13 22:35:52 +00:00
espie
5855efb734 move depends to new style 2010-11-15 19:45:56 +00:00
sthen
7e2de42881 Fix RUN_DEPENDS with MODJAVA_VER=1.3+ or 1.4+, it was allowing 1.5/jamvm/kaffe
but not newer jdk/jre versions. Problem noted by Matthew Szudzik. ok kurt@
2009-11-09 11:02:58 +00:00
sthen
744eb19e33 unbreak RUN_DEPENDS for MOD_JAVA_VER=1.x+, which I missed when I fixed
the normal case. problem found by Andreas Kahari.
2009-03-16 16:38:25 +00:00
sthen
e08fb2fbfe fix pkgspec for dependencies - looks ok to phessler, kili 2009-03-11 22:04:07 +00:00
kurt
d612fb2796 Deprecate 1.3 and 1.4 due to lack of security updates, end-of-life status
or near eol, and bulk build time. This removes the limited Java support we
had on arm, powerpc and sparc until such time OpenJDK/IcedTea can replace
it. 1.3 and 1.4 ports directories will be removed next release to avoid
bit rot. Requested by espie@ and okay by many with no objections.
2008-06-24 02:38:31 +00:00
kurt
92ac5f7392 Add support for 1.6 and 1.7 level ports. okay nikolay@ ian@ 2008-05-05 02:53:15 +00:00
sturm
418157194e fix java RUN_DEPENDS for the 1.5 case
ok kurt
2008-03-18 19:40:03 +00:00
kurt
b3296e52b5 - remove 1.3-linux now that it is no longer needed for building 1.4
- update 1.3+ MODJAVA_RUN_DEPENDS to account for 1.3-linux removal
okay ian@ pval@
2008-02-14 21:48:43 +00:00
kurt
01ba206cd1 expand BUILD_DEPENDS to allow building ports with jdk-1.5.0 update 11 2007-06-27 21:33:33 +00:00
kurt
80d3cd2c49 Change the default package for 1.3+ and 1.4+ ports to devel/jdk/1.5 on
i386. This fixed a 'FORCE_UPDATE=yes make install' issue noticed by brad@
and further encourages users to use the 1.5 jdk which works the best.
2007-01-16 02:47:14 +00:00
kurt
f6da9a94ff On i386 all source built java ports will use the 1.5 jdk to build. Runtime
compatibility is preserved through the use of the javac -source and
-target arguments. These arguments are now required for any new source
built java ports.
2006-11-28 14:28:25 +00:00
espie
23011e3982 tweak for new MULTI_PACKAGES 2006-11-20 19:28:18 +00:00
kurt
0f22d97d61 adjust depends so that 1.3+, 1.4 & 1.4+ level ports must use libz free
jdk/1.4 from now on.
2006-11-01 20:34:24 +00:00
kurt
e7d3816ed9 expand RUN_DEPENDS to include kaffe and jamvm where appropriate so if
someone wants to run a java port with them they don't need to first build
one of Sun's jdks.  okay nikolay@
2006-08-05 16:38:20 +00:00
kurt
15f1fe1f7e indent defines too so that this is more readable. 'looks sane' nikolay@ 2006-07-28 13:06:24 +00:00
kurt
bdb052bb9e add amd64 support. tested & ok ian@ 2006-05-28 00:14:39 +00:00
kurt
bc308600a9 add sparc to ONLY_FOR_ARCHS for ports with MODJAVA_VER=1.3/1.3+ 2006-03-20 14:42:37 +00:00
kurt
c8dadd3e62 - enable 1.3 on arm 2005-07-14 17:29:58 +00:00
kurt
e94d72bb53 - fix linux 1.3.1 jdk pkgspec 2005-06-17 15:37:33 +00:00
kurt
7ddb5ebf43 - add java MODULE to handle some commmon java port issues
- Based on the MODJAVA_VER, MODJAVA_JRERUN, NO_BUILD
  and MACHINE_ARCH, the following things will be setup:
    ONLY_FOR_ARCHS if not already set.
    BUILD_DEPENDS on a jdk (native preferred).
    JAVA_HOME to pass on to the port build.
    RUN_DEPENDS for all jdk's and jre's that can run the port.

Review and feedback nikolay@, ian@.
2005-06-17 14:59:27 +00:00