[Bug 256477] cannot install java/openjdk11

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Mar 2023 19:45:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256477

Peter Much <pmc@citylink.dinoex.sub.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pmc@citylink.dinoex.sub.org

--- Comment #17 from Peter Much <pmc@citylink.dinoex.sub.org> ---
Ed, thanks for re-opening

Here is a whole directory of binaries ending up in /usr/local/openjdk11/bin,
and most, maybe all of them do not like to run without wxneeded. 

Then, the port Makefile defines 

JDK_BUILDDIR=   ${WRKSRC}/build/${JDK_OSARCH}-
normal-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE}

After a few futile tries to make things work with that variable, I gave up and
just did this:

post-build:
        # USES=elfctl does not work here, because the .for loop there
        # gets expanded before the destination dir of the binaries is known
        ${ELFCTL} -i -e +wxneeded ${JDK_IMAGEDIR}/bin/*

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