pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/intel-microcode-netbsd intel-microcode-netbsd...
details: https://anonhg.NetBSD.org/pkgsrc/rev/780f8d832756
branches: trunk
changeset: 379604:780f8d832756
user: nia <nia%pkgsrc.org@localhost>
date: Thu May 19 22:23:12 2022 +0000
description:
intel-microcode-netbsd: Simplify OS version test.
diffstat:
sysutils/intel-microcode-netbsd/Makefile | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diffs (33 lines):
diff -r d45882f03154 -r 780f8d832756 sysutils/intel-microcode-netbsd/Makefile
--- a/sysutils/intel-microcode-netbsd/Makefile Thu May 19 20:00:58 2022 +0000
+++ b/sysutils/intel-microcode-netbsd/Makefile Thu May 19 22:23:12 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2022/05/19 04:29:21 gutteridge Exp $
+# $NetBSD: Makefile,v 1.52 2022/05/19 22:23:12 nia Exp $
VERSION= 20220510
DISTNAME= microcode-${VERSION}
@@ -13,16 +13,17 @@
COMMENT= Firmware updates for Intel x86 processors
LICENSE= intel-microcode-license
-ONLY_FOR_PLATFORM+= NetBSD-6.99.*-i386 \
- NetBSD-6.99.*-x86_64 \
- NetBSD-[7-9].*-i386 \
- NetBSD-[7-9].*-x86_64 \
- NetBSD-1[0-9].*-i386 \
- NetBSD-1[0-9].*-x86_64
+ONLY_FOR_PLATFORM+= NetBSD-*-i386 NetBSD-*-x86_64
WRKSRC= ${WRKDIR}
USE_LANGUAGES= c
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 069900
+PKG_SKIP_REASON+= "Loading microcode not supported"
+.endif
+
FWDIR= libdata/firmware/cpu_x86_intel1
INSTALLATION_DIRS+= ${FWDIR}
Home |
Main Index |
Thread Index |
Old Index