summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs>2002-11-02 10:03:45 +0000
committerabs <abs>2002-11-02 10:03:45 +0000
commit389af1078c253d0a233d3f6acd7c90aa896957a7 (patch)
tree802fcbc7d4e2ebb2e497268cea05808d5a39e2ae /devel/cpuflags
parent49bea55e2e4a20de4ab99dbe5d2b3fccb14803fa (diff)
downloadpkgsrc-389af1078c253d0a233d3f6acd7c90aa896957a7.tar.gz
Update cpuflags to 0.37
Recognise more alpha CPU variants - from Christopher SEKIYA
Diffstat (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/Makefile4
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD10
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index eefab90a3b0..16a3c4bdc52 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2002/10/21 16:36:58 abs Exp $
+# $NetBSD: Makefile,v 1.37 2002/11/02 10:03:45 abs Exp $
#
-DISTNAME= cpuflags-0.36
+DISTNAME= cpuflags-0.37
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD
index 399270927e5..78e3e7c5026 100755
--- a/devel/cpuflags/files/cpuflags.NetBSD
+++ b/devel/cpuflags/files/cpuflags.NetBSD
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.NetBSD,v 1.30 2002/10/21 16:36:59 abs Exp $
+# $NetBSD: cpuflags.NetBSD,v 1.31 2002/11/02 10:03:46 abs Exp $
if [ -x /sbin/sysctl ] ;then
SYSCTL=/sbin/sysctl
@@ -22,10 +22,10 @@ case $hw_machine_arch in
alpha)
# cpu0 at mainbus0: ID 0 (primary), 21164A-0 (unknown ...
case "`egrep '^cpu0 ' /var/run/dmesg.boot`" in
- *[\(\ ]2106[46][-\ ]*) FLAGS="-mcpu=21064" ;;
- *[\(\ ]21164[-\ ]*) FLAGS="-mcpu=21164" ;;
- *[\(\ ]21164A[-\ ]*) FLAGS="-mcpu=21164a" ;;
- *[\(\ ]21264B[-\ ]*) FLAGS="-mcpu=21264" ;;
+ *[\(\ ]2106[46][-\ \)]*) FLAGS="-mcpu=21064" ;;
+ *[\(\ ]21164[-\ \)]*) FLAGS="-mcpu=21164" ;;
+ *[\(\ ]21164A[-\ \)]*) FLAGS="-mcpu=21164a" ;;
+ *[\(\ ]21264B[-\ \)]*) FLAGS="-mcpu=21264" ;;
esac
;;