diff options
author | abs <abs@pkgsrc.org> | 2004-11-14 21:51:05 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2004-11-14 21:51:05 +0000 |
commit | f0adb3c4eec9167541882ef214738c398b9976a0 (patch) | |
tree | 2da74d5c5902209939adbeeabcdbf3912c184e62 | |
parent | 4910c859528688b5616bf459e0a3ab03eb39f017 (diff) | |
download | pkgsrc-f0adb3c4eec9167541882ef214738c398b9976a0.tar.gz |
Update cpuflags to 0.78:
Handle 7410 under NetBSD/macppc and 'Pentium III (Coppermine)' under
Linux, from Markus W Kilbinger and Andrew Gillham respectively
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.Linux | 7 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.NetBSD | 3 | ||||
-rw-r--r-- | doc/CHANGES | 4 |
4 files changed, 11 insertions, 7 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index 0983e489d00..f02688a4d17 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -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 --git a/devel/cpuflags/files/cpuflags.Linux b/devel/cpuflags/files/cpuflags.Linux index 4df618bd708..9521e6c32a8 100755 --- a/devel/cpuflags/files/cpuflags.Linux +++ b/devel/cpuflags/files/cpuflags.Linux @@ -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 @@ if [ ! -f /proc/cpuinfo ] ; then 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 @@ case $hw_machine_arch in "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 --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD index 8dceab7201f..c1a5b95cfb0 100755 --- a/devel/cpuflags/files/cpuflags.NetBSD +++ b/devel/cpuflags/files/cpuflags.NetBSD @@ -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 @@ case $hw_machine_arch in 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 --git a/doc/CHANGES b/doc/CHANGES index d05c7007e40..de993f0811e 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -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 @@ Changes to the packages collection and infrastructure in 2004: 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] + |