Commit graph

35 commits

Author SHA1 Message Date
Kyle Evans
5fb9edd6bd Multiple ports: improve regex compliance
These changes largely fall into just two categories:

1. Need textproc/gsed for GNU extensions
2. Extraneous escapes that can go away

For #1, there's a further subdivision into those that require autoconf magic
and those that can get away with BINARY_ALIAS=sed=${LOCALBASE}/bin/gsed.
-CURRENT will soon gain GNU extensions, but these will take longer to get to
all supported releases; we must switch them to gsed to ensure we're actually
properly building them as intended.

For #2, I've fixed these as I can and we should upstream these fixes.

PORTREVISION is bumped for all of the above, because we will almost
certainly build these differently when the replacements actually start
working.

These were all detected by the below-referenced exp-run [1]. The patch
included forbids many ordinary characters from being escaped, since we'll
later imbue those with special meanings. This has had the nice side effect
of picking up various things that we didn't handle properly, e.g. \t and \r
for tab and carriage return.

PR:		229925 [1]
Approved by:	koobs (mentor)
Approved by:	portmgr (blanket: trivial build fixes)
MFH:		no (invasive risk)
Differential Revision:	https://reviews.freebsd.org/D25185
2020-06-08 04:41:31 +00:00
Tijl Coosemans
7d4723292c Update devel/gmake to 4.3.
Some changes have been made in this release that break backwards
compatibility.  Let USES=gmake force users to upgrade to this version so
port maintainers don't have to support older versions.

PR:		245725
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2020-05-09 19:24:49 +00:00
Greg Lewis
1007ca9d59 Update to 12.0.2+10.4
PR:		244947
Submitted by:	Trond.Endrestol@ximalas.info
2020-04-18 20:42:11 +00:00
Greg Lewis
f6edb11a70 Fix the build on aarch64
Submitted by:	Klaus Küchemann <maciphone2@googlemail.com>
2020-03-22 20:00:25 +00:00
Piotr Kubaj
b3c6e7fecb java/openjdk12: correctly patch openjdk12 for ppc64 elfv2
The previous patch didn't check for architecture.

PR:		243183
2020-01-16 13:59:09 +00:00
Antoine Brodin
603501b794 Revert r523218, it breaks build on tier 1
With hat:	portmgr
2020-01-16 13:34:01 +00:00
Piotr Kubaj
3ff99bec50 java/openjdk12: fix compilation for powerpc64 elfv2
Because of issue with macros in precompiled.hpp, --disable-precompiled-headers is necessary.

Since openjdk compiles for elfv1 by default on big-endian ppc64, use a patch to compile for elfv2.

PR:		243183
Approved by:	glewis (maintainer)
2020-01-16 09:29:00 +00:00
Greg Lewis
47bbc35509 Reinstate guidance to have /proc mounted
* Having /proc mounted is not generally critical, but there is at least one
  piece of functionality that does rely on its presence at the moment
  (e.g. OperatingSystemMXBean)
2019-11-09 22:28:53 +00:00
Niclas Zeising
07e8e1c13c Add USES=xorg USES=gl, ports categories j
Add USES=xorg and USES=gl to ports in categories starting with 'j'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-06 18:03:34 +00:00
Greg Lewis
5ea34fbf09 Fix build on FreeBSD 12.x/powerpc64 on POWER8+ machines
* Make sure has_mfdscr() returns false on these machines as using it on
  FreeBSD 12.x will cause problems (e.g. SIGILL).

PR:		239368
Sponsored by:	The FreeBSD Foundation
2019-11-06 17:31:33 +00:00
Greg Lewis
4b6716a293 Fix internal versioning
* Set the Java version correctly
* Bump PORTREVISION since some software may rely on this
2019-10-17 20:38:38 +00:00
Greg Lewis
64cb3efbcf Sync with openjdk11
* Separate out platform/compiler concerns
* Disable AoT on all arches except amd64

Sponsored by:	The FreeBSD Foundation
2019-09-27 15:44:38 +00:00
Greg Lewis
0dd1ec7ccd Udpate to 12.0.2+10-3 2019-09-20 15:46:43 +00:00
Greg Lewis
6361a74fa5 Add support for aarch64
* Add aarch64 to ONLY_FOR_ARCHES on FreeBSD 12.0 and up.

PR:		239246
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
2019-08-30 22:21:29 +00:00
Greg Lewis
9de148ec50 Prepare for aarch64 support
* Add necessary configure arguments for aarch64
* Add patches needed to compile on aarch64.  These have been upstreamed but
  are not in a release yet.
2019-08-30 04:26:01 +00:00
Greg Lewis
e4d88a10b0 Remove guidance about needing procfs
* Remove portions of pkg-message that mention needing /proc mounted.
  This hasn't been the case for a while afaik (I don't have it mounted
  and haven't observed any related problems).
2019-08-28 15:34:32 +00:00
Greg Lewis
0d895bb102 Add powerpc64 support
PR:		237370
2019-08-26 02:00:42 +00:00
Greg Lewis
b153007008 Allow the JDK to be compiled with gcc.
This is required for powerpc64 support.

PR:		237370
2019-08-25 20:55:19 +00:00
Greg Lewis
01db95f8d1 Update cacerts
* Use the latest cacerts file from Oracle's public distribution of 12.0.2
2019-08-20 18:25:11 +00:00
Mathieu Arnold
3bd0ac0d72 Convert to UCL & cleanup pkg-message (categories h-k) 2019-08-13 22:22:35 +00:00
Greg Lewis
dc20dd8e50 Update to 12.0.2+10.2 2019-08-13 13:32:12 +00:00
Greg Lewis
dff11f2a9c Register openjdk12 as a java provider with javavm
PR:		237991
Submitted by:	Tommy P <tommyhp2@gmail.com>
2019-07-31 16:46:25 +00:00
Greg Lewis
d5dc4f104d * Set NO_CCACHE to match configure being passed --disable-ccache
Fixes the build for people trying to use ccache

PR:		239387
Submitted by:	Jonathan Chen <jonc@chen.org.nz>
2019-07-24 22:45:29 +00:00
Greg Lewis
e78463fedc Update to 12.0.2 2019-07-19 17:08:28 +00:00
Antoine Brodin
e19903f0ae Clean up LIB_DEPENDS 2019-06-16 16:05:28 +00:00
Greg Lewis
79e2064d52 Update to 12.0.1.12.2 which includes powerpc64 support.
PR:		237370
2019-05-17 04:32:40 +00:00
Mathieu Arnold
bd3fd6f002 Use USE_GITHUB when appropriate. 2019-05-11 19:52:08 +00:00
Greg Lewis
083a6da42d . Update to 12.0.1 2019-04-17 20:57:53 +00:00
Greg Lewis
42f8b4781f * Update to 12.0.0.33.2
* Sort LIB_DEPENDS and USE_XORG.
* Add a dependency in alsa-lib now that sound is supported on FreeBSD.
* Don't disable dtrace now that it is supported on FreeBSD.
* Less intrusive iconv change.
2019-03-29 17:39:15 +00:00
Jung-uk Kim
d3c95d36f1 Fix iconv(3) issues.
PR:		236759
2019-03-28 23:27:12 +00:00
Greg Lewis
717db6b72b . Fix permissions on jspawnhelper.
. Bump PORTREVISION.
2019-03-21 20:25:08 +00:00
Greg Lewis
51ef8bf96e Re-add the port of OpenJDK 12 2019-03-21 17:34:20 +00:00
Greg Lewis
2f1232fbff Remove openjdk12 to try a repo copy again. 2019-03-21 17:31:47 +00:00
Greg Lewis
f0520b4f4d Add files missing in last commit somehow. 2019-03-21 04:38:51 +00:00
Greg Lewis
847931245a Add a port of OpenJDK 12 2019-03-21 03:33:14 +00:00