git: 1834883816a0 - main - net-mgmt/p5-FusionInventory-Agent: enable DMIDECODE only where it's available

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 10 Oct 2021 18:33:46 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1834883816a0167783d127232331dfab4ec5008f

commit 1834883816a0167783d127232331dfab4ec5008f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-10-10 18:14:33 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-10-10 18:14:33 +0000

    net-mgmt/p5-FusionInventory-Agent: enable DMIDECODE only where it's available
---
 net-mgmt/p5-FusionInventory-Agent/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-mgmt/p5-FusionInventory-Agent/Makefile b/net-mgmt/p5-FusionInventory-Agent/Makefile
index 10098b2f9b7b..f2a81fc6dc76 100644
--- a/net-mgmt/p5-FusionInventory-Agent/Makefile
+++ b/net-mgmt/p5-FusionInventory-Agent/Makefile
@@ -42,7 +42,14 @@ CONFLICTS=	p5-FusionInventory-Agent-Task-NetDiscovery-* \
 
 OPTIONS_DEFINE=		CUPS DAEMON DMIDECODE DEPLOY NETDISC NETINV PCIUTILS \
 			SSL VMWARE WOL ZLIB
-OPTIONS_DEFAULT=	DAEMON DMIDECODE PCIUTILS ZLIB
+OPTIONS_DEFAULT=	DAEMON PCIUTILS ZLIB
+OPTIONS_DEFAULT_aarch64=	DMIDECODE
+OPTIONS_DEFAULT_amd64=	DMIDECODE
+OPTIONS_DEFAULT_armv6=	DMIDECODE
+OPTIONS_DEFAULT_armv7=	DMIDECODE
+OPTIONS_DEFAULT_i386=	DMIDECODE
+OPTIONS_DEFAULT_riscv64=	DMIDECODE
+OPTIONS_DEFAULT_riscv64sf=	DMIDECODE
 OPTIONS_SUB=	yes
 
 DAEMON_DESC=	Daemon mode, with opt. web interface