From 195d690bb11d92476dbb37993d4c1131e1d5d11a Mon Sep 17 00:00:00 2001 From: abs Date: Thu, 23 Sep 2004 11:41:10 +0000 Subject: Update cpuflags to 0.76: Add 'Intel(R) Pentium(R) M processor' under Linux, plus make each version report the OS in the event of an unrecognised CPU. --- devel/cpuflags/Makefile | 4 ++-- devel/cpuflags/files/cpuflags.Linux | 4 +++- devel/cpuflags/files/cpuflags.NetBSD | 3 ++- devel/cpuflags/files/cpuflags.SunOS | 3 ++- doc/CHANGES | 3 ++- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index 37f72ed82ee..540bd265641 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.78 2004/08/04 11:39:43 abs Exp $ +# $NetBSD: Makefile,v 1.79 2004/09/23 11:41:10 abs Exp $ # -DISTNAME= cpuflags-0.75 +DISTNAME= cpuflags-0.76 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/cpuflags.Linux b/devel/cpuflags/files/cpuflags.Linux index c6921375042..e214e985b17 100755 --- a/devel/cpuflags/files/cpuflags.Linux +++ b/devel/cpuflags/files/cpuflags.Linux @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.Linux,v 1.8 2004/08/04 11:39:44 abs Exp $ +# $NetBSD: cpuflags.Linux,v 1.9 2004/09/23 11:41:10 abs Exp $ PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH if [ "$1" = -v ] ; then @@ -14,6 +14,7 @@ fi display_hw_details() { + echo " OS : '$(uname)'" echo " proc model : '$hw_model'" echo " machine_arch : '$hw_machine_arch'" echo " proc flags : '$hw_flags'" @@ -37,6 +38,7 @@ case $hw_machine_arch in "AMD Duron(TM)") FLAGS='-march=athlon' ;; "AMD Athlon(tm) XP "*) FLAGS='-march=athlon-xp' ;; "Celeron (Coppermine)") FLAGS='-march=pentium3' ;; + "Intel(R) Pentium(R) M processor"*) FLAGS='-march=pentium3m' ;; "Intel(R) Celeron(R) CPU "*) case "$hw_flags" in *" sse2 "*) diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD index c91fde34a80..ba0450fd4af 100755 --- a/devel/cpuflags/files/cpuflags.NetBSD +++ b/devel/cpuflags/files/cpuflags.NetBSD @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.NetBSD,v 1.54 2004/08/04 11:39:44 abs Exp $ +# $NetBSD: cpuflags.NetBSD,v 1.55 2004/09/23 11:41:10 abs Exp $ PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH if [ "$1" = -v ] ; then @@ -14,6 +14,7 @@ fi display_hw_details() { + echo " OS : '$(uname)'" echo " hw.model : '$hw_model'" echo " hw.machine : '$hw_machine'" echo " hw.machine_arch : '$hw_machine_arch'" diff --git a/devel/cpuflags/files/cpuflags.SunOS b/devel/cpuflags/files/cpuflags.SunOS index 7719523eb3c..53d8bd1ccc0 100755 --- a/devel/cpuflags/files/cpuflags.SunOS +++ b/devel/cpuflags/files/cpuflags.SunOS @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.SunOS,v 1.3 2004/08/04 11:39:44 abs Exp $ +# $NetBSD: cpuflags.SunOS,v 1.4 2004/09/23 11:41:10 abs Exp $ PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH if [ "$1" = -v ] ; then @@ -14,6 +14,7 @@ fi display_hw_details() { + echo " OS : '`uname`'" echo " arch : '$hw_arch'" } diff --git a/doc/CHANGES b/doc/CHANGES index dcb3a9e4c7e..c024b2bf17d 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,4 +1,4 @@ -$NetBSD: CHANGES,v 1.7216 2004/09/23 11:38:04 abs Exp $ +$NetBSD: CHANGES,v 1.7217 2004/09/23 11:41:40 abs Exp $ Changes to the packages collection and infrastructure in 2004: @@ -4394,4 +4394,5 @@ Changes to the packages collection and infrastructure in 2004: Updated popa3d to 0.6.4.1nb1 [cube 2004-09-23] Updated dcraw to 1.205 [seb 2004-09-23] Updated rconfig to 0.37 [abs 2004-09-23] + Updated cpuflags to 0.76 [abs 2004-09-23] -- cgit v1.2.3