pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc Update cpuflags to 0.78:
details: https://anonhg.NetBSD.org/pkgsrc/rev/3f7eaf5967ad
branches: trunk
changeset: 483547:3f7eaf5967ad
user: abs <abs%pkgsrc.org@localhost>
date: Sun Nov 14 21:51:05 2004 +0000
description:
Update cpuflags to 0.78:
Handle 7410 under NetBSD/macppc and 'Pentium III (Coppermine)' under
Linux, from Markus W Kilbinger and Andrew Gillham respectively
diffstat:
devel/cpuflags/Makefile | 4 ++--
devel/cpuflags/files/cpuflags.Linux | 7 ++++---
devel/cpuflags/files/cpuflags.NetBSD | 3 ++-
doc/CHANGES | 4 +++-
4 files changed, 11 insertions(+), 7 deletions(-)
diffs (75 lines):
diff -r a93ed71084a0 -r 3f7eaf5967ad devel/cpuflags/Makefile
--- a/devel/cpuflags/Makefile Sun Nov 14 20:34:05 2004 +0000
+++ b/devel/cpuflags/Makefile Sun Nov 14 21:51:05 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.80 2004/11/03 18:16:27 abs Exp $
+# $NetBSD: Makefile,v 1.81 2004/11/14 21:51:05 abs Exp $
#
-DISTNAME= cpuflags-0.77
+DISTNAME= cpuflags-0.78
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff -r a93ed71084a0 -r 3f7eaf5967ad devel/cpuflags/files/cpuflags.Linux
--- a/devel/cpuflags/files/cpuflags.Linux Sun Nov 14 20:34:05 2004 +0000
+++ b/devel/cpuflags/files/cpuflags.Linux Sun Nov 14 21:51:05 2004 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.Linux,v 1.10 2004/11/03 18:16:27 abs Exp $
+# $NetBSD: cpuflags.Linux,v 1.11 2004/11/14 21:51:05 abs Exp $
PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
if [ "$1" = -v ] ; then
@@ -25,8 +25,8 @@
echo "Unable to open /proc/cpuinfo"
hw_model=Unknown
else
- hw_model=$(awk -F: '/^model name/{sub(" ","",$2);print $2}' /proc/cpuinfo)
- hw_flags=$(awk -F: '/^flags/{sub(" ","",$2);print $2}' /proc/cpuinfo)
+ hw_model=$(awk -F: '/^model name/{sub(" ","",$2);print $2;exit}' /proc/cpuinfo)
+ hw_flags=$(awk -F: '/^flags/{sub(" ","",$2);print $2;exit}' /proc/cpuinfo)
fi
case $hw_machine_arch in
@@ -38,6 +38,7 @@
"AMD Duron(TM)") FLAGS='-march=athlon' ;;
"AMD Athlon(tm) XP "*) FLAGS='-march=athlon-xp' ;;
"Celeron (Coppermine)") FLAGS='-march=pentium3' ;;
+ "Pentium III (Coppermine)") FLAGS='-march=pentium3' ;;
"Intel(R) Pentium(R) M processor"*) FLAGS='-march=pentium3m' ;;
"Intel(R) Celeron(R) CPU "*)
case "$hw_flags" in
diff -r a93ed71084a0 -r 3f7eaf5967ad devel/cpuflags/files/cpuflags.NetBSD
--- a/devel/cpuflags/files/cpuflags.NetBSD Sun Nov 14 20:34:05 2004 +0000
+++ b/devel/cpuflags/files/cpuflags.NetBSD Sun Nov 14 21:51:05 2004 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.NetBSD,v 1.56 2004/11/03 18:16:27 abs Exp $
+# $NetBSD: cpuflags.NetBSD,v 1.57 2004/11/14 21:51:05 abs Exp $
PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
if [ "$1" = -v ] ; then
@@ -138,6 +138,7 @@
604ev\ *) FLAGS='-mcpu=604e' ;; # upgr B&W G3
620\ *) FLAGS='-mcpu=620' ;; # Untested
7400\ *) FLAGS='-mcpu=7400' ;; # AGP G4/400 Mac
+ 7410\ *) FLAGS='-mcpu=7400' ;; # powerbook g4
740\ *) FLAGS='-mcpu=740' ;; # Untested
7450\ *) FLAGS='-mcpu=7450' ;; # tibook 550
750\ *) FLAGS='-mcpu=750' ;; # Untested
diff -r a93ed71084a0 -r 3f7eaf5967ad doc/CHANGES
--- a/doc/CHANGES Sun Nov 14 20:34:05 2004 +0000
+++ b/doc/CHANGES Sun Nov 14 21:51:05 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.7855 2004/11/14 20:34:05 jmmv Exp $
+$NetBSD: CHANGES,v 1.7856 2004/11/14 21:51:40 abs Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -5274,3 +5274,5 @@
Updated balsa2 to 2.2.5 [jmmv 2004-11-14]
Updated bmp to 0.9.7rc2nb4 [jmmv 2004-11-14]
Updated drivel to 1.2.2nb2 [jmmv 2004-11-14]
+ Updated cpuflags to 0.78 [abs 2004-11-14]
+
Home |
Main Index |
Thread Index |
Old Index