Commit graph

141 commits

Author SHA1 Message Date
Jung-uk Kim
d89d9f9160 - Sync. extremely outdated sun.util.resources.TimeZoneNames to the latest
tzdata 2013i from the upstream.  Note we are not updating zoneinfo data here
as it can be updated via java/java-zoneinfo.
- Fix build with Clang 3.4 and other miscellaneous issues while I am here.
2014-03-03 23:45:26 +00:00
Jung-uk Kim
7654e4a9ce - Update to b30.
- Implement sigset(2) for libjsig.  All supported FreeBSD releases have it.
- Turn UseMembar back on by default until we find better solution.
2014-01-23 23:34:07 +00:00
Jung-uk Kim
b5028779b8 Build with Apache Ant 1.9.3. 2014-01-08 21:21:21 +00:00
Mathieu Arnold
f9902a1f64 Revert lang/openjdk6 to b28.
With hat:	portmgr-lurker
2014-01-04 14:33:12 +00:00
Baptiste Daroussin
313cb94889 Part 2 at removing now useless FETCH_ARGS redifition 2014-01-03 01:12:59 +00:00
Baptiste Daroussin
992c8a537c Mark as forbidden, the port is now trigering a nasty FreeBSD bug!
A fix is being investigated
2013-12-27 11:50:37 +00:00
Jung-uk Kim
a2f7a06c58 Re-add jtreg to the distinfo. 2013-12-24 23:19:00 +00:00
Jung-uk Kim
799b4d21cc - Update to b29.
- Tidy up signal handler.
- Disable a Linux-specific hack.
- Do not create stack guard for Java threads.
- Implement thread CPU time.
2013-12-24 23:11:15 +00:00
Jung-uk Kim
50a824c824 If /var/db/zoneinfo exists, use the file to determine timezone rather than
iterating over all files under /usr/share/zoneinfo.  All supported FreeBSD
versions create the file with tzsetup(8).  This change usually improves
java.util.TimeZone performance because we only need to test just one file.
2013-12-11 01:18:33 +00:00
Jung-uk Kim
fffab58da8 Add multiple security patches and improvements from IcedTea6.
http://icedtea.classpath.org/hg/icedtea6/rev/e98b0ef70b26

Obtained from:	IcedTea Project
2013-12-04 23:20:35 +00:00
Jung-uk Kim
35ee67e7ee - Add throw() to all user-defined operator new()s within HotSpot because
Clang does not support "-fcheck-new".  Note it is a backport of S8021954
(http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/9758d9f36299).
- Re-implement signal_name() with sys_signame(3) and adjust the comments.
- Re-implement ThreadCritical with PTHREAD_MUTEX_RECURSIVE.
- Fix DEBUG build with Clang on i386.  Clang does not support "-gstabs".
- Limit allocatable physical memory per getrlimit(2).
2013-11-09 00:11:00 +00:00
Jung-uk Kim
77e1b3cd31 - Do not crash when unsupported options are specified. [1]
- Micro-optimize and tidy up some patches.

PR:		java/183656 [1]
2013-11-05 21:16:12 +00:00
Jung-uk Kim
5cf97021e1 - Turn off UseMembar by default. This workaround is not necessary any more.
- Add few minor patches related to thread ID that were mis-merged.
- Add couple of minor HotSpot patches from upstream while I am here.
2013-10-25 22:53:53 +00:00
Jung-uk Kim
d6de7bac6f Allow overriding linker flags for standard C++ libraries and zlib. 2013-10-22 20:17:09 +00:00
Jung-uk Kim
6d6efeba92 Allow adding extra patches from slave ports. 2013-10-16 20:40:27 +00:00
Jung-uk Kim
2d8e62780d Fix build on old releases where nitems() macro is not defined.
Reported by:	Scott Ballantyne (sdb at ssr dot com)
2013-10-15 18:12:05 +00:00
Jung-uk Kim
7b302b1c04 Build with Apache Ant 1.9.2. 2013-10-14 19:09:17 +00:00
Jung-uk Kim
eeab9aebc3 Simplify compiler detection. COMPILER_TYPE must be defined since r330336. 2013-10-14 17:45:14 +00:00
Jung-uk Kim
1a4180c77c - Do not allow selecting both DEBUG and FASTDEBUG options. [1]
- Re-enable -Werror for HotSpot build with GCC.
- Revert couple of unnecessary local changes to reduce diff.
- Add inactive pages as availble memory.  Note it is a cosmetic change.

PR:		ports/182907 [1]
2013-10-12 00:31:41 +00:00
Jung-uk Kim
f2de329aa5 - Fix few mis-merges against HotSpot 23 and tie up some loose ends.
- Fix build with libiconv.  This problem was introduced in r330018.
- Update CA list to Oracle Java 7u40.  An expired CA was removed.
2013-10-10 21:59:11 +00:00
Jung-uk Kim
738fcd72c1 - Remove redundant bsd.port.pre.mk.
- Convert LIB_DEPENDS to new formats.

Submitted by:	bar
2013-10-10 16:49:02 +00:00
Jung-uk Kim
147d3f7524 Add couple of compiler warning fixes. No functional change. 2013-10-09 22:24:17 +00:00
Jung-uk Kim
f78b1b9ba0 Update to Build b28. 2013-10-09 20:36:06 +00:00
Jung-uk Kim
3aebbc79f2 Fix test option. 2013-10-08 06:53:50 +00:00
Jung-uk Kim
47144a1692 Use echo correctly. 2013-10-08 05:44:04 +00:00
Jung-uk Kim
46d7e6673b Remove few lines added for testing at the last minute. This fixes plist. 2013-10-08 05:35:39 +00:00
Jung-uk Kim
0c79f0cee3 - Support staging.
- Fix fastdebug installation.
- Update jtreg version to Build b05.
- Refine r327353.  Use an extra patch instead.
- Install proper license file.  OpenJDK6 has GPLv2 + "Classpath" exception.
2013-10-08 00:03:16 +00:00
Baptiste Daroussin
c2c2a2b86b Add NO_STAGE all over the place in preparation for the staging support (cat: java) 2013-09-20 19:48:32 +00:00
Guido Falsi
dc2fe44aa2 - Add missing iconv USES
PR:		java/182100
Submitted by:	m.viey@wanadoo.fr
Approved by:	portmgr (bapt, implicit)
2013-09-15 18:55:58 +00:00
Jung-uk Kim
932fe524fd Fix build with libc++. 2013-09-06 02:06:56 +00:00
Guido Falsi
642be1b81d - Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Discussed with:	bapt, bsam (who both contributed ideas and code)
2013-09-04 18:06:07 +00:00
Jung-uk Kim
f720ee1568 Bump revision for openjdk6-jre to catch up with the master port change. 2013-07-26 05:27:28 +00:00
Jung-uk Kim
c9ea119f1f Move the fix for S6636110 to more appropriate directory. This patch is not
an IcedTea6 patch nor a security fix.
2013-07-26 05:23:06 +00:00
Baptiste Daroussin
37e17acfdf Fix excessive memory consumption on head amd64, this prevent the package building cluster from dying when building java ports.
This bug is referenced upstream here: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6636110

Submitted by:	dim
With hat:	portmgr
2013-07-25 15:32:43 +00:00
Jung-uk Kim
e2650fc1b3 - Add couple of upstreamed IcedTea6 patches for consistency.
- Disable test_gamma by default.
2013-07-22 21:59:50 +00:00
Jung-uk Kim
15172ddf84 Fix openjdk6-jre build. 2013-07-16 21:12:40 +00:00
Jung-uk Kim
ab26ef7814 Add multiple security patches and improvements from IcedTea6 1.12.6.
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-July/023941.html

Obtained from:	IcedTea Project
PR:		ports/180541
2013-07-16 21:07:25 +00:00
Baptiste Daroussin
942c2a28be Convert from USE_MOTIF to USES=motif
While here:
- Trim headers
- Convert USE_GMAKE to USES=gmake
- Remove indefinite article from comment
2013-07-10 07:00:44 +00:00
Jung-uk Kim
edb186c0b5 Use bootstrap Java instead of newly built binary to execute RMIC. 2013-05-15 00:17:57 +00:00
Jung-uk Kim
7bdc883652 Style change after r317320. We do not need a temporary variable any more. 2013-05-08 22:47:22 +00:00
Bryan Drewery
63f76304d6 - When DISABLE_MAKE_JOBS or MAKE_JOBS_UNSAFE is set, also set
MAKE_JOBS_NUMBER to 1. This makes it safe to do -j${MAKE_JOBS_NUMBER}
  without any extra logic.
- Cleanup ports working around the empty MAKE_JOBS_NUMBER
- This also fixes several ports that were expecting MAKE_JOBS_NUMBER
  to always have a number

Reviewed by:	bapt
Spotted by:	John Marino <draco@marino.st>
With hat:	portmgr
2013-05-04 14:06:08 +00:00
Baptiste Daroussin
5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00
Jung-uk Kim
70c842246a Add multiple security patches from IcedTea6 1.12.5.
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-April/022985.html

Obtained from:	IcedTea Project
2013-04-25 20:03:56 +00:00
Jung-uk Kim
2d1c28ddc6 Add multiple security patches from IcedTea6 1.12.4.
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-March/022145.html

Obtained from:	IcedTea Project
2013-03-06 01:01:29 +00:00
Jung-uk Kim
0f7f30e0b6 Add multiple security patches from IcedTea6 1.12.3.
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-February/021858.html
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-February/021998.html

Obtained from:	IcedTea Project
2013-03-06 00:50:28 +00:00
Jung-uk Kim
18924f6e54 Add a patch to fix MulticastSocket.setInterface().
http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/bfa676f5b5db

Submitted by:	oliver
2013-02-11 23:45:25 +00:00
Jung-uk Kim
c4cbf54b05 Make sure to unset 'OS' environment variable. Some shell sets it and causes
HotSpot build failure.

PR:		ports/173434
Feature safe:	yes
2012-11-08 21:52:49 +00:00
Jung-uk Kim
ff193c17dc - Remove registervm from build dependency. This hack is no longer necessary
as javavmwrapper is fixed now (r306536).
- Remove an empty directory, which was missed in the previous commit.

Feature safe:	yes
2012-10-31 20:49:54 +00:00
Greg Lewis
5b9c189def . Update to build 27.
Feature safe:	yes
2012-10-29 06:13:33 +00:00
Jung-uk Kim
09bb1716ac Move .endif to a better place. No functional change.
Feature safe:	yes
2012-10-25 21:03:22 +00:00