Bug 239387

Summary: java/openjdk11: Fix build failures for 11.0.4+11.1
Product: Ports & Packages Reporter: Jonathan Chen <jonc>
Component: Individual Port(s)Assignee: freebsd-java (Nobody) <java>
Status: Closed FIXED    
Severity: Affects Some People CC: glewis, jonc, transitive
Priority: --- Flags: bugzilla: maintainer-feedback? (java)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 239383, 239384    
Attachments:
Description Flags
Fix Build none

Description Jonathan Chen 2019-07-22 21:45:05 UTC
Created attachment 205998 [details]
Fix Build

The attached patch fixes:

 * missing X11 headers during configure.
 * disables CCACHE for ccache-enabled build systems.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-07-24 22:41:43 UTC
A commit references this bug:

Author: glewis
Date: Wed Jul 24 22:41:41 UTC 2019
New revision: 507303
URL: https://svnweb.freebsd.org/changeset/ports/507303

Log:
  * Add a dependency on xrandr, since the latest version uses Xrandr.h
  * Set NO_CCACHE to match configure being passed --disable-ccache

  Fixes the build in poudriere and for people trying to use ccache

  PR:		239387
  Submitted by:	Jonathan Chen <jonc@chen.org.nz>

Changes:
  head/java/openjdk11/Makefile
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-07-24 22:45:45 UTC
A commit references this bug:

Author: glewis
Date: Wed Jul 24 22:45:29 UTC 2019
New revision: 507304
URL: https://svnweb.freebsd.org/changeset/ports/507304

Log:
  * 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>

Changes:
  head/java/openjdk12/Makefile
Comment 3 Greg Lewis freebsd_committer freebsd_triage 2019-07-24 22:46:18 UTC
*** Bug 239383 has been marked as a duplicate of this bug. ***
Comment 4 Greg Lewis freebsd_committer freebsd_triage 2019-07-24 22:47:48 UTC
Thanks!  I've committed the changes
Comment 5 Greg Lewis freebsd_committer freebsd_triage 2019-07-24 22:47:59 UTC
*** Bug 239384 has been marked as a duplicate of this bug. ***