Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 08:29:03 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   building openjdk without alsa dependency
Message-ID:  <CALM2mEkaaFhrjzk1aC89L4Ks4AnJVaKZVoDazWZ=Z_QRw8rZuw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEkaaFhrjzk1aC89L4Ks4AnJVaKZVoDazWZ=Z_QRw8rZuw>