aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.java.mk
Commit message (Collapse)AuthorAgeFilesLines
* Mk/bsd.java.mk: generalize a comment.Rene Ladan2021-04-061-3/+1
| | | | Differential Revision: https://reviews.freebsd.org/D29451
* Add support for openjdk16 and 16[+] as a valid versionGreg Lewis2021-02-231-3/+6
| | | | Notes: svn path=/head/; revision=566367
* Add support for openjdk15Greg Lewis2020-09-071-3/+6
| | | | Notes: svn path=/head/; revision=547935
* Allow users to specify a default Java version in the standard wayGreg Lewis2020-04-111-0/+2
| | | | | | | | PR: 244942 Submitted by: Tommy P <tommyhp2@gmail.com> Notes: svn path=/head/; revision=531437
* Add support for openjdk14Greg Lewis2020-03-211-3/+7
| | | | Notes: svn path=/head/; revision=528866
* Clean up after java/openjdk6 and java/openjdk6-jre removalJung-uk Kim2019-11-261-2/+2
| | | | | | | | | | | | | | | java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and java/openjdk6 and java/openjdk6-jre were removed from the ports tree (r512663). Now this patch completely removes remaining stuff from the ports tree. PR: 241953 (exp-run) Reviewed by: glewis Approved by: portmgr (antoine) Differential Revision: https://reviews.freebsd.org/D22342 Notes: svn path=/head/; revision=518482
* Eliminate references to 9 and 10Greg Lewis2019-10-231-2/+2
| | | | | | | | | * All 9 and 10 JDKs have been removed and no ports explicitly list either as a desired version, so remove references to simplify the versioning substitutions a little. Notes: svn path=/head/; revision=515303
* Add 13, force 9/10 -> 11Greg Lewis2019-10-031-4/+6
| | | | | | | | | | | | | | * Remove comment references to 9 and 10 as possible version specifications. Note that 9 and 10 aren't actually removed as valid versions as there is one port with a reference (news/nzbhydra2). * Add 13 as a valid version. * Add configuration for openjdk13. * Modify the construction of _JAVA_VERSION to force 9 and 10 to 11. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=513732
* bsd.java.mk: unregister expired java/linux-oracle-jdk9 and ↵Rene Ladan2019-09-301-7/+1
| | | | | | | java/linux-oracle-jdk10 Notes: svn path=/head/; revision=513345
* Remove references to openjdk6Greg Lewis2019-09-231-13/+11
| | | | | | | | | | | | | | | * Remove references to "6" in comments and examples * Remove java/openjdk6 from the list of Java ports that are considered to satisfy a dependency * Don't yet remove "6" as a valid version since many ports have "1.6+" as a version specifier (although none have just 1.6). Instead force this to mean "1.7+". PR: 234792 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=512662
* Support newer Java versionsGreg Lewis2019-07-311-25/+37
| | | | | | | | | | | | * Add configuration for newer versions of the JDK (11, 12) * Switch to modern Java versioning (e.g. 8 rather than 1.8) * Retain backwards compatibility with existing version specification * Support the few ports that set USE_JAVA to the requested version PR: 237054, 238758 (exp-run) Notes: svn path=/head/; revision=507714
* Mk/bsd.java.mk: Strict JAVA_{VERSION,VENDOR,ERROR} validationKyle Evans2017-11-041-6/+12
| | | | | | | | | | | | | | | | | | | Currently, validation of JAVA_{VERSION,VENDOR,ERROR} does not constitute an error and make(1) will happily continue, potentially doing the wrong thing. Adjust the behavior as follows: - Only validate each var if it's defined - Remain verbose about what error exists and what's expected - Fail the build if validation fails bsd.java.mk exhibited this behavior up until r217132 inadvertently changed it to be non-fatal. PR: 220737 Approved by: portmgr (bdrewery) Notes: svn path=/head/; revision=453438
* . Add a port of the Oracle JDK9 for Linux.Greg Lewis2017-10-141-3/+6
| | | | | | | . Add support for JDK9 to bsd.java.mk Notes: svn path=/head/; revision=452076
* Minor cleanup to Java version/vendor/OS validationKyle Evans2017-07-141-22/+8
| | | | | | | | | | | | - Use POSIX compliant expressions instead of employing GNU extensions (branching in BREs) - Simplify regex generation using make(1)'s :ts modifier PR: 220054 Approved by: bapt (portmgr) Notes: svn path=/head/; revision=445802
* Implement test target for USE_ANT=yes.Jung-uk Kim2017-04-051-0/+7
| | | | Notes: svn path=/head/; revision=437838
* Mk/bsd.java.mk: unregister expired java/linux-sun-jdk17Rene Ladan2016-04-241-3/+0
| | | | | | | | | PR: 209011 Approved by: portmgr (bapt) Sponsored by: Essen Linuxhotel Hackathon 2016 Notes: svn path=/head/; revision=413938
* Remove the now unneeded ${PORTSDIR} from dependency definition inBaptiste Daroussin2016-03-271-2/+2
| | | | | | | | | | | The infrastructure Makefiles PR: 206569 Exp run by: antoine Differential Revision: D5047 Notes: svn path=/head/; revision=411970
* Make OpenJDK 1.8 the defaultSteve Wills2015-10-191-2/+2
| | | | Notes: svn path=/head/; revision=399693
* - Make OpenJDK 1.7 the defaultSteve Wills2014-06-271-2/+2
| | | | Notes: svn path=/head/; revision=359603
* Convert all :U to :tu and :L to :tlBaptiste Daroussin2014-05-051-1/+1
| | | | | | | | | | | | | | | | | Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr Notes: svn path=/head/; revision=352986
* Document JAVA_EXTRACT.Jung-uk Kim2014-05-021-0/+3
| | | | Notes: svn path=/head/; revision=352850
* - Sort Java implementations by preference, i.e., java/openjdk7 is preferredJung-uk Kim2014-04-241-15/+11
| | | | | | | | | over java/openjdk8. java/openjdk8 is still in its infancy. - Retire redundant _JAVA_PREFERRED_PORTS hack. We only have one preferred port since r290539 and we want to keep it that way. Notes: svn path=/head/; revision=352036
* Update comments.Jung-uk Kim2014-04-111-4/+4
| | | | Notes: svn path=/head/; revision=351016
* - Fix _JAVA_PORT_LINUX_ORACLE_JDK_1_8_INFOSunpoet Po-Chuan Hsieh2014-04-111-9/+9
| | | | | | | | | | | - Reorder _JAVA_VENDOR_* - Update comment Submitted by: sunpoet (myself) Approved by: bapt (portmgr) Notes: svn path=/head/; revision=350991
* . Set maintainer to java@FreeBSD.org.Greg Lewis2014-04-111-1/+1
| | | | Notes: svn path=/head/; revision=350874
* Add support for OpenJDK 1.8Baptiste Daroussin2014-04-101-9/+13
| | | | | | | | | Add support for Oracle JDK 1.8 Remove support for Sun JDK 1.6 (EOLed) Remove support for USE_JAVA=1.5 Notes: svn path=/head/; revision=350782
* Change DESTDIRNAME into a ant compatible argument when a port is stagedBaptiste Daroussin2013-11-121-0/+1
| | | | | | | | | | While here remove previous workarounds. Submitted by: ale Discussed with: jkim, glewis Notes: svn path=/head/; revision=333560
* - Remove CVS referenceMartin Wilke2013-05-201-1/+1
| | | | | | | | | | | | PR: 178381 177581 Submitted by: Eitan Adler <lists@eitanadler.com> Alex Kozlov <spam@rm-rf.kiev.ua> With hat: portmgr Notes: svn path=/head/; revision=318556
* . Split a long comment line.Greg Lewis2013-04-261-2/+3
| | | | Notes: svn path=/head/; revision=316544
* . Replace the use of != and shell utilities with actual make logic. ThisGreg Lewis2013-04-261-25/+36
| | | | | | | | | | should be much faster and avoid some complaints from make. PR: 177355 Submitted by: crees@ Notes: svn path=/head/; revision=316543
* . Fix all of the ports which still have as a version requirementGreg Lewis2012-12-111-3/+3
| | | | | | | | | | | | | | | | | JAVA_VERSION=1.5 or JAVA_VERSION=1.5+ The previous revision took this out as a valid version number meaning that we end up with the non-existent "/bin/java" as the desired JDK. Expand 1.5 to 1.6 and 1.5+ to 1.6 1.7 for now. This can be reverted once all the ports are updated. Notes: svn path=/head/; revision=308661
* Decommissioning java 1.5 (EOLed since October 2009):Baptiste Daroussin2012-12-101-23/+6
| | | | | | | | | | | | | removal of the different 1.5 jre and jdk vendors Removing outdated jdk16 vendors: removing all the bsdjava and freebsd vendors, consider using openjdk6 or openjsk7 instead. Discussed with: java (glarkin) Notes: svn path=/head/; revision=308619
* - Remove emacs mode, -*- mode: ...; -*- [1]Martin Wilke2012-05-231-1/+1
| | | | | | | | | | | | | | | | | | | - Comments for BUILD_ and RUN_DEPENDS fail to mention alternate means to specify dependencie [2] - Fix make reinstall [3] - Trivial comment change for PORTDATA [4] PR: 151954 [1] 161314 [2] 167085 [3] 167465 [4] Submitted by: Anonymous <swell.k@gmail.com> [1] dougb@ and Chris Rees <utisoft@gmail.com> [2] Garrett Cooper <yanegomi@gmail.com> [3] "Bryan Drewery" <bryan@shatow.net> [4] Tested via: phw Notes: svn path=/head/; revision=297274
* . Instead of bailing when we hit a possibly conflicting variable beingGreg Lewis2012-04-131-2/+2
| | | | | | | | | | defined just clear it and issue a warning that it was set. PR: 165115 Approved by: hq@ (co-maintainer) Notes: svn path=/head/; revision=294760
* . Add support for the new linux-sun-jdk17 port.Greg Lewis2012-02-091-0/+3
| | | | Notes: svn path=/head/; revision=290773
* . Make the openjdk6 port the preferred JDK by default.Greg Lewis2012-02-071-5/+1
| | | | | | | Many thanks to erwin@ for a -exp run. Notes: svn path=/head/; revision=290539
* . Make commented examples reference 1.6 (the current default) rather than 1.5.Greg Lewis2011-09-041-6/+6
| | | | Notes: svn path=/head/; revision=281175
* Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,Mark Linimon2011-07-211-86/+15
| | | | | | | | | | | | | | | | | | | remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp Notes: svn path=/head/; revision=278068
* - Unregister expired java/jdk14Rene Ladan2011-06-281-5/+2
| | | | | | | | | | | - Update example from java/jdk14 to java/jdk16 PR: ports/158030 Submitted by: myself Approved by: glewis Notes: svn path=/head/; revision=276596
* Update the list of possible values for JDK vendor in the header commentsHerve Quiroz2011-02-121-1/+2
| | | | | | | | | PR: 154553 Submitted by: Warren Block <wblock@wonkity.com> (PR), ryusuke (patch) Notes: svn path=/head/; revision=268993
* . Add support for the openjdk7 port.Greg Lewis2010-01-151-4/+9
| | | | | | | | | . Add support for a JAVA_VERSION requirement of 1.7. Reviewed by: hq@ Notes: svn path=/head/; revision=247916
* . Add support for openjdk6 as a possible JDK.Greg Lewis2009-05-221-1/+5
| | | | | | | | Submitted by: Jonathan Chen <jonc@chen.org.nz> Reviewed by: hq@ Notes: svn path=/head/; revision=234375
* . Add diablo-jdk16 and make it the default on 6.x and 7.x.Greg Lewis2008-08-181-5/+7
| | | | | | | . Make jdk16 the default on all other supported versions. Notes: svn path=/head/; revision=218774
* Major optimizations for 'make index' and other recursive traversalKris Kennaway2008-07-191-33/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | targets. * Use /rescue/sh for index builds instead of /bin/sh, when it exists. The former is statically linked and faster to execute, which becomes significant when executing it tens of thousands of times. This trick can be used with other recursive targets by passing in __MAKE_SHELL. * Get rid of make variable assignments that use != command invocations in the critical path, using several methods: - rewriting logic to use shell or make builtins instead of external command executions - macroizing commands and executing them in the targets where they are needed instead of with every invocation of make - precomputing the results of invariant commands in bsd.port.subdir.mk and passing them in explicitly to child makes, and using this to avoid recalculation in all the children. NB: the commands are still run one per top-level subdirectory but this does not currently seem to be a major issue. They could be moved further up into the top-level Makefile at the cost of some cleanliness. - Committers are strongly discouraged from adding further "bare" != assignments to the ports tree, even in their own ports. One of the above strategies should be used to avoid future bloat. * Rewrite the core 'describe' target to work entirely within a single shell process using only builtin commands. The old version is retained as a backup for use on systems older than 603104, which does not have the make :u modifier. This cuts down the number of processes executed during the course of a 'make index' by an order of magnitude, and we are essentially now amortized to the minimum of a single make + sh instance per port, plus whatever commands the port makefile itself executes (which are usually unnecessary and bogus). * Less validation of the WWW: target is performed; this can become policed at a port level by portlint. Specifically we look at the second word of the first line beginning with "WWW:" in pkg-descr, and append "http://" to it unless it already begins with "http://", "https://" or "ftp://". Thanks to dougb for the idea of how to extract WWW: using shell builtins. * Use the "true" shell builtin instead of echo > /dev/null for a measurable decrease in CPU use. * Add a note about dubious escaping strategy in bsd.port.subdir.mk * Minor change in output of 'make describe': it no longer strips trailing CR characters from pkg-descr files with MSDOS CR/LF termination. Instead the makeindex perl script that post-processes make describe into the INDEX is tweaked to strip on input. The bottom line is that on my test hardware INDEX builds are now faster by more than a factor of 2 and with a reduction in system time by a factor of 4-8 depending on configuration. Notes: svn path=/head/; revision=217132
* Remove support for Java 1.1 and 1.2 in the ports treeHerve Quiroz2007-10-281-36/+12
| | | | | | | | | | | | | | | To ease upgrade, bsd.java.mk now substitutes JAVA_VERSION values of 1.1+ and 1.2+ as 1.3+. The related JDK ports that have been marked as deprecated and scheduled for removal some time ago are now safe to be removed. The patch has been tested successfully on the cluster. PR: 116724 Notes: svn path=/head/; revision=202220
* . Remove a check for OSVERSION >= 500000 since this is now true for allGreg Lewis2007-10-071-1/+1
| | | | | | | | | | supported versions of FreeBSD. PR: 116890 Submitted by: edwin Notes: svn path=/head/; revision=201050
* . Enforce NO_JIKES when 1.6 is required as well.Greg Lewis2007-08-051-2/+3
| | | | Notes: svn path=/head/; revision=197151
* . Support for the JDK 1.6 ports.Greg Lewis2007-08-051-2/+8
| | | | | | | Submitted by: jkim Notes: svn path=/head/; revision=197149
* . Remove references to deprecated, forbidden and expired port of theGreg Lewis2007-06-061-3/+0
| | | | | | | | | | Linux Blackdown 1.3 JDK. PR: 113268 Submitted by: gabor@ Notes: svn path=/head/; revision=192931
* * Refine some comments about Linux emulation [1]Mark Linimon2007-03-061-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * Fix 'make search' with non-default ${PORTSDIR} [2] * Fix typo in USE_LDCONFIG32 message [3] * Allow USE_PHP after inclusion of bsd.port.pre.mk [4] * Document NO_LDCONFIG_MTREE [5] * Update/enhance description of INSTALLS_SHLIB and USE_LDCONFIG [6] * Remove obsolete code in bsd.port.mk dealing with 4.X and other, even older, releases [7] * Remove references to obsolete ports from bsd.java.mk [8] PR: 105883 [1], 105917 [2], 106195 [3], 106557 [4], 108738 [5], 108739 [6], 108782 [7], 103357 [8] Submitted by: bsam [1], shaun [2], edwin [3], ale [4], gerald [5] [6], linimon [7], kris [7], gabor [4] Notes: svn path=/head/; revision=186638