[Bug 265378] x11/xfce4-goodies can depend on sysutils/xfce4-battery-plugin when battery-plugin is unbuildable

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Jul 2022 12:46:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265378

--- Comment #4 from Guido Falsi <madpilot@FreeBSD.org> ---
Created attachment 235425
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235425&action=edit
patch v1

I've attached a patch I've still not tested.

The patch removed BATTERY from the global defaults and puts it in
OPTIONS_DEFAULT_amd64 and OPTIONS_DEFAULT_i386, so it's not the default except
where supported.

I've also added some OPTIONS_EXCLUDE_${ARCH}. To keep the list short I decided
to only add the ones relating to the architecture supported by HEAD (upcoming
14.x), as a compromise.

aarch64 was very important to add since it's becoming tier 1.

BTW I have no way of testing the xfce4-battery-plugin plugin on aarch64, but if
you want to give it a spin, just comment the ONLY_FOR_ARCHS (or add aarch64)
there and see how it behaves. If it happens to work on aarch64 I can enable it.

BTW while here I am enabling BSDCPUFREQ by default again since it should work
now (I'm going to test this before committing anyway).

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