building openjdk without alsa dependency

blubee blubeeme gurenchan at gmail.com
Tue Jul 31 00:29:05 UTC 2018


I would like to build openjdk7 without the asound lib, I already
removed ALSA from my kernel so the build fails but I am not writing
Java applications that needs sound.

I made a few changes to just not build the ALSA parts and the port
builds properly.

I had to edit the patch-bsd and created a new patch to remove building
ALSA sound parts.

Would it be possible to have the java team add a knob to the USE_JAVA
in bsd.java.mk so that I can use this version with other ports?

patch-jdk_make_common_Sanity.gmk : https://pastebin.com/cXej8LES
patch-bsd :
https://pastebin.com/E9xHTkKH


Best,
Owen


More information about the freebsd-ports mailing list