Summary: | java/openjdk8 fails to build due to patch fail | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | gja822 | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-java (Nobody) <java> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | fluffy, frebsd-java, glewis, jcfyecrayz, rhurlin, vvd | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(java) |
||||||
Version: | Latest | ||||||||
Hardware: | amd64 | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
gja822
2019-07-21 04:55:09 UTC
Created attachment 205991 [details]
java/openjdk8: fix build with FONTCONFIG enabled
Fix fontconfig.patch
Comment on attachment 205991 [details]
java/openjdk8: fix build with FONTCONFIG enabled
The patch fixes this for me.
See also bug 239316 Created attachment 206010 [details]
[patch] fix fontconfig patch after jdk8u222 + remove unnecessary shebangfix
Regen patch using makepatch-like patch generation.
Set fontconfig patch via EXTRA_PATCHES instead of creating a special target that does the same thing.
While here, remove unnecessary shebangfix.
And as far as I can see, files/patch-common-autoconf-toolchain.m4 is obsolete, because it is already handled via Makefile:l237, isn't it? *** Bug 239316 has been marked as a duplicate of this bug. *** A commit references this bug: Author: glewis Date: Wed Jul 24 23:37:06 UTC 2019 New revision: 507306 URL: https://svnweb.freebsd.org/changeset/ports/507306 Log: Fix the build for the FONTCONFIG option * Updated the fontconfig.patch file * Simplified FONTCONFIG to use EXTRA_PATCHES rather than a separate target PR: 239358 Submitted by: John Hein <jcfyecrayz@liamekaens.com>, fluffy Changes: head/java/openjdk8/Makefile head/java/openjdk8/files/fontconfig.patch (In reply to Rainer Hurling from comment #5) Rainer, no it's not obsolete. The patch inserts %%LOCALBASE%% (replacing hard-coded /usr/local). Then post-patch replaces %%LOCALBASE%% with ${LOCALBASE} (for cases where LOCALBASE is defined != /usr/local). (In reply to John Hein from comment #8) Many thanks, John, for the clarification. Of course, you are right. I was misleaded, because before r507306 on my HEAD boxes, 'make patch' was not able to apply files/patch-common-autoconf-toolchain.m4 for some unknown reason. Sorry for the noise. |