pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/intel-microcode-netbsd



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May 19 22:23:12 UTC 2022

Modified Files:
        pkgsrc/sysutils/intel-microcode-netbsd: Makefile

Log Message:
intel-microcode-netbsd: Simplify OS version test.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/sysutils/intel-microcode-netbsd/Makefile

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

Modified files:

Index: pkgsrc/sysutils/intel-microcode-netbsd/Makefile
diff -u pkgsrc/sysutils/intel-microcode-netbsd/Makefile:1.51 pkgsrc/sysutils/intel-microcode-netbsd/Makefile:1.52
--- pkgsrc/sysutils/intel-microcode-netbsd/Makefile:1.51        Thu May 19 04:29:21 2022
+++ pkgsrc/sysutils/intel-microcode-netbsd/Makefile     Thu May 19 22:23:12 2022
@@ -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 @@ HOMEPAGE=   https://github.com/intel/Intel
 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