Commit Graph

61 Commits

Author SHA1 Message Date
Greg Lewis
44d8a469b9 . Update to 8u72. 2016-01-31 19:37:15 +00:00
Jung-uk Kim
2edf0a9558 - Partially implement getThreadUserTime() using getrusage(2). Note we can
only get usage for the current thread.  Return -1 if the requested function
is not supported, i.e., user time for other threads, rather than crash. [1]
- Properly implement os::elapsedVTime() using getrusage().  Basically, it is
taken from Linux version.
- Temporarily revert r403748 to fix bootstrapping with earlier OpenJDK8. [2]

PR:		205523, 205843 [1]
PR:		205544 [2]
2016-01-05 22:39:46 +00:00
Greg Lewis
2813824f6f . Stub implementation of OperatingSystemImpl.
PR:		205229
2016-01-02 09:30:21 +00:00
Jung-uk Kim
cafb8745f1 Implement ThreadMXBean.getThreadCpuTime(), etc.
PR:		205523
Submitted by:	will (via bsd-port-dev@openjdk.java.net)
2015-12-23 00:22:15 +00:00
Jung-uk Kim
95a9ce771d Fix build with fmake.
Reported by:	antoine
2015-12-15 06:45:16 +00:00
Jung-uk Kim
fc16b49fe6 Build compilefontconfig.jar and javazic.jar with bootstrap jar. Originally
it was intended to test the newly built JVM, it is not cross-build friendly.

Submitted by:	Eugene M. Zheganin (emz at norma dot perm dot ru)
2015-12-14 23:32:21 +00:00
Jung-uk Kim
37874e5364 Build with sjavac when we are self-hosting to improve build speed. 2015-12-14 23:20:05 +00:00
Jung-uk Kim
e64ae7e938 Allow java/openjdk7 for bootstrapping java/openjdk8. Although we cannot
build OpenJDK7 for ARM yet, there is no need to disallow it at all.
2015-12-14 23:15:09 +00:00
Jung-uk Kim
8d6f3ac3d4 Respect CC, CPP and CXX with full paths.
PR:		203747
2015-12-14 23:05:49 +00:00
Jung-uk Kim
c8b2413599 Respect CC, CPP and CXX with full paths.
PR:		203747
2015-12-14 23:02:49 +00:00
Greg Lewis
eb3bedf698 . Update to 8u66. 2015-12-13 00:50:58 +00:00
Jung-uk Kim
5b1ddddad1 Work around build failures with Poudriere. We have to limit max heap size
when building 32-bit targets on a 64-bit host for some unknown reason.
2015-12-10 19:37:07 +00:00
Jung-uk Kim
af65c31a00 Fix regression introduced in r372338, i.e., mis-merged fix for JDK-8031581.
PR:		205192
2015-12-10 18:43:51 +00:00
Antoine Brodin
0e8c3bf1b3 Update giflib to 5.1.1
PR:		204492
2015-12-03 20:01:03 +00:00
Jung-uk Kim
f4e079e884 Add support for armv6hf. Tested on Raspberry Pi 2 Model B. 2015-10-15 18:01:53 +00:00
Jung-uk Kim
389ecfc20d Clean up and modernize the port. No functional change. 2015-09-29 21:56:28 +00:00
Greg Lewis
801e7630ce . Add support for armv6.
PR:		201308
Submitted by:	mikael.urankar@gmail.com
Reviewed by:	sbruno
2015-09-29 14:54:56 +00:00
Jung-uk Kim
044e9e0d8b Do not build unnecessary targets to reduce build time. 2015-09-16 05:39:29 +00:00
Greg Lewis
68ee2ea98b . Switch to xz for the new remote patches to decrease download size. 2015-09-09 09:39:30 +00:00
Greg Lewis
74dbe676ce . Move the large patches which contain the changes between updates of the
JDK to being fetched remotely using PATCHFILES and PATCH_SITES.

  This cuts the size taken by openjdk8 in the ports repository.
2015-09-08 05:04:25 +00:00
Greg Lewis
519117c04b . Update to 8u60. 2015-09-07 09:41:49 +00:00
Jung-uk Kim
1ee26da0bb Tidy up couple of problems in the previous update. 2015-07-20 21:16:09 +00:00
Greg Lewis
8088e0cda1 . Update to 8u51. 2015-07-19 14:23:54 +00:00
Greg Lewis
2722598f71 . The test target wants jtreg binaries to be found one directory up. Allow
that to be the case.
2015-07-05 00:45:08 +00:00
Jung-uk Kim
fd492a9fe5 - Fix broken preprocessor directives.
- Use sysctl(3) instead of procfs(5) when we need executable path from PID.

MFH:		2015Q3
2015-07-02 18:17:12 +00:00
Jung-uk Kim
e25f3cb0e6 Fix the previous commit. Forgot to remove #'s before committing. :-( 2015-05-19 22:16:23 +00:00
Jung-uk Kim
75c6d35b75 Do not use static libjli for stable/10 and head. This complements PR193009.
Re-apply r381431 while I am here.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2015-05-19 22:13:51 +00:00
Greg Lewis
6e15254a68 . Update to 8u45. 2015-05-06 07:03:53 +00:00
Bryan Drewery
90ddbe7045 Fix build with GCC with recent head kernel by disabling PCH for GCC.
The case for this is a recent head kernel building an older branch that uses
GCC in a jail.

This is discussed at https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html

It may be possible to fix GCC to do the right thing with mmap(2) but it would
not be simple to make ports use a fixed GCC on older releases and without
needlessly building a ports compiler when the system one would otherwise be
fine without PCH.

With hat:	portmgr
2015-04-15 15:30:07 +00:00
Jung-uk Kim
cd50a3fd95 Set rpath for libawt_xawt.so as we do for libawt.so and libawt_headless.so.
Optimize fontconfig.properties while I am here.
2015-04-01 17:32:17 +00:00
Jung-uk Kim
7580e924ad Tidy up default fontconfig.properties. 2015-03-24 21:17:51 +00:00
Jung-uk Kim
74a9a89a8d Catch up with font directory changes. 2015-03-24 00:56:47 +00:00
Greg Lewis
72d2e02134 . Update to 8u40. 2015-03-15 21:30:04 +00:00
Jung-uk Kim
6a5bb1c2f8 - Revert all damages done in r372338 and r379049.
- Really fix non-release builds. [1]

PR:		193009 [1]
2015-02-27 06:54:30 +00:00
Jung-uk Kim
6ff1cd31f3 Properly use BLOCKING_IO_RETURN_INT() macro for NET_Accept(). 2015-02-16 23:58:16 +00:00
Greg Lewis
64f02c86a0 . Attempt to fix the build on 8.x amd64 by telling the HotSpot compilation
not to treat warnings as errors.

Reported by:	mat@
2015-02-05 03:13:05 +00:00
Greg Lewis
3bc2661ea9 . Update to 8u31. 2015-02-02 06:27:11 +00:00
Antoine Brodin
364abe76fd Switch some dependencies from a directory name or a file generated by pkg-install
to a package name,  as the former can't be attributed to a package
2015-01-24 15:07:39 +00:00
Antoine Brodin
c6faa705a5 Update graphics/giflib to 5.0.5
Differential Revision:	https://reviews.freebsd.org/D1361
Submitted by:	bapt
Reviewed by:	self
Exp-run by:	self
2015-01-14 18:19:32 +00:00
Jung-uk Kim
7df9bf91d2 Turn off -Werror for Clang 3.5+ and revert r374780 for now. 2014-12-16 21:37:30 +00:00
Tijl Coosemans
60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Jung-uk Kim
bb07796994 - Add an empty directory to plist to fix staging.
- Fix build for 8.x on amd64. [1]
- Use tar(1) to extract all distfiles. [2]

PR:		194988 [1]
Submitted by:	Mikhail T. (mi at aldan dot algebra dot com) [2]
2014-11-20 04:37:20 +00:00
Jung-uk Kim
c8829a2519 - Fix build on i386 with clang. [1]
- Fix mismerged libnio.so. [2]

Reported by:	antoine [1]
Tested by:	antoine [1]
PR:		194941 [2]
2014-11-11 23:53:59 +00:00
Greg Lewis
ec0ba98b99 . Update to 8u25. 2014-11-09 05:23:31 +00:00
Jung-uk Kim
b81354a1df Merge Linux-specific changes to BSD patches. Most importantly, this change
corrects 'os.arch' property for i386 to fix regressions.

PR:		194419
2014-10-30 16:30:36 +00:00
Greg Lewis
c2262e1806 . Introduce a DIST_BUILD_NUMBER variable and refer to that in both DISTNAME
and MASTER_SITES.  This fixes the download URL. [1]
. Add a dependency on fontconfig. [2]

Pointed out by:	Chris Sabo <csabo2@gmail.com> [1]
Requested by:	Michael Schmiedgen <schmiedgen@takwa.de> [2]
2014-07-20 19:29:53 +00:00
Greg Lewis
fafc5e69ef . Update to 8u11. This requires moving the patch file for 8u5 to start
with 8u05 to preserve patch file ordering.
2014-07-20 17:00:57 +00:00
Jung-uk Kim
6d8c62429c Implement current and signal methods for sun.nio.ch.NativeThread. Note this
fixes a test case in the following Apache Solr bug report.

https://issues.apache.org/jira/browse/SOLR-6204

Reported by:	Dawid Weiss <dawid.weiss@gmail.com>
2014-06-27 18:41:19 +00:00
Jung-uk Kim
0702846b6c Fix printing services. When CUPS is used, ${LOCALBASE}/bin/lpr must be used
to print a generated PostScript file.  When lpd(8) is used, lpr(1) from base
must be used.  Also, status command for lpc(8) requires a printer name.  If
no argument is specified, i.e., "/usr/sbin/lpc status", then it displays the
command usage, i.e., "usage: status  {all | printer ...}".  Unfortunately,
"usage" is interpreted as a printer name because ":" is included.  Add "all"
and adjust an expression for grep(1).
2014-05-21 20:06:16 +00:00
Jung-uk Kim
a548434ab2 Always link libjli statically. When launchers are symlinked, it may not be
able to find libjli.so from RPATH because argv[0] points to the symlink.
Note it seems Linux does not have the problem when /proc/self/exe exists.
If it does not exist, it also fails to find libjli.so.  Clean up patches
while I am here.
2014-05-17 06:14:58 +00:00