summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs>2002-10-21 16:36:58 +0000
committerabs <abs>2002-10-21 16:36:58 +0000
commit44e5851319f89d5e6329806e15fedd5b9885416b (patch)
tree392aa641d6140cbf41a74a6dc3f2bc968f36395e /devel/cpuflags
parent6bff39898110e1f8caa99d7047d58668a25ef30d (diff)
downloadpkgsrc-44e5851319f89d5e6329806e15fedd5b9885416b.tar.gz
Update cpuflags to 0.36:
Recognise 21164-0 (As seen in Digital AlphaStation 600 5/333)
Diffstat (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/Makefile4
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD5
2 files changed, 5 insertions, 4 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index 912b5855153..eefab90a3b0 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2002/10/17 11:36:44 abs Exp $
+# $NetBSD: Makefile,v 1.36 2002/10/21 16:36:58 abs Exp $
#
-DISTNAME= cpuflags-0.35
+DISTNAME= cpuflags-0.36
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD
index febed27a12e..399270927e5 100755
--- a/devel/cpuflags/files/cpuflags.NetBSD
+++ b/devel/cpuflags/files/cpuflags.NetBSD
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.NetBSD,v 1.29 2002/10/17 11:36:44 abs Exp $
+# $NetBSD: cpuflags.NetBSD,v 1.30 2002/10/21 16:36:59 abs Exp $
if [ -x /sbin/sysctl ] ;then
SYSCTL=/sbin/sysctl
@@ -22,8 +22,9 @@ case $hw_machine_arch in
alpha)
# cpu0 at mainbus0: ID 0 (primary), 21164A-0 (unknown ...
case "`egrep '^cpu0 ' /var/run/dmesg.boot`" in
- *[\(\ ]21164A[-\ ]*) FLAGS="-mcpu=21164a" ;;
*[\(\ ]2106[46][-\ ]*) FLAGS="-mcpu=21064" ;;
+ *[\(\ ]21164[-\ ]*) FLAGS="-mcpu=21164" ;;
+ *[\(\ ]21164A[-\ ]*) FLAGS="-mcpu=21164a" ;;
*[\(\ ]21264B[-\ ]*) FLAGS="-mcpu=21264" ;;
esac
;;