pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

efivar: update ONLY_FOR_PLATFORM



Module Name:	pkgsrc-wip
Committed By:	Sergii Dmytruk <sergii.dmytruk%3mdeb.com@localhost>
Pushed By:	sergiidmytruk
Date:		Wed Aug 14 20:14:46 2024 +0300
Changeset:	70fc7cb0f14890b39275febc866a675a22885252

Modified Files:
	efivar/Makefile

Log Message:
efivar: update ONLY_FOR_PLATFORM

 * Specific to NetBSD
 * Needs at least 10.0 to build
 * List all architectures which have /dev/efi

Signed-off-by: Sergii Dmytruk <sergii.dmytruk%3mdeb.com@localhost>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=70fc7cb0f14890b39275febc866a675a22885252

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 efivar/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diffs:
diff --git a/efivar/Makefile b/efivar/Makefile
index b03709b226..8cd794983f 100644
--- a/efivar/Makefile
+++ b/efivar/Makefile
@@ -16,8 +16,11 @@ HOMEPAGE=		https://github.com/rhboot/efivar
 COMMENT=		Tools and libraries to work with EFI
 LICENSE=		gnu-lgpl-v2.1 # or later
 
-# Depends on EFI and relevant API in the kernel
-ONLY_FOR_PLATFORM=	*-*-x86_64
+# Depends on EFI and relevant kernel API (/dev/efi) added in NetBSD 10.0
+ONLY_FOR_PLATFORM=	NetBSD-1?.*-i386    \
+			NetBSD-1?.*-x86_64  \
+			NetBSD-1?.*-amd64   \
+			NetBSD-1?.*-aarch64
 
 USE_TOOLS+=		gmake
 


Home | Main Index | Thread Index | Old Index