diff options
author | abs <abs> | 2004-09-23 11:41:10 +0000 |
---|---|---|
committer | abs <abs> | 2004-09-23 11:41:10 +0000 |
commit | ad94833babc85c420ea0202b622f86e87b168dc0 (patch) | |
tree | ab6115b64209ae82d9a3042641eee3eced78cc56 /devel/cpuflags | |
parent | febe5356d5c32a1c28003d1d15dec360c93882e9 (diff) | |
download | pkgsrc-ad94833babc85c420ea0202b622f86e87b168dc0.tar.gz |
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.
Diffstat (limited to 'devel/cpuflags')
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.Linux | 4 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.NetBSD | 3 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.SunOS | 3 |
4 files changed, 9 insertions, 5 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'" } |