[Bug 260215] java/openjfx14: fix build with non-default CCACHE_DIR

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 04 Dec 2021 14:09:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260215

            Bug ID: 260215
           Summary: java/openjfx14: fix build with non-default CCACHE_DIR
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael@FreeBSD.org
          Reporter: nimaje+fbz@bureaucracy.de
                CC: mikael@FreeBSD.org
             Flags: maintainer-feedback?(mikael@FreeBSD.org)
          Assignee: mikael@FreeBSD.org
 Attachment #229893 maintainer-approval?(mikael@FreeBSD.org)
             Flags:
                CC: mikael@FreeBSD.org
             Flags: merge-quarterly?

Created attachment 229893
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229893&action=edit
java/openjfx14: fix build with non-default CCACHE_DIR

In the build of openjfx14 CCACHE_DIR gets lost leading to build failures e.g.
when building as nobody, so add it into ccwrapper and cxxwrapper.

While here remove redundant ${SETENV} in do-build (${_GRADLE_RUN} already
contains ${SETENV})

Requesting MFH as this is a build fix.

(I already use this on 12.2 amd64)

QA:
* portlint: No new issues

-- 
You are receiving this mail because:
You are the assignee for the bug.