summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs>2004-09-23 11:41:10 +0000
committerabs <abs>2004-09-23 11:41:10 +0000
commitad94833babc85c420ea0202b622f86e87b168dc0 (patch)
treeab6115b64209ae82d9a3042641eee3eced78cc56 /devel/cpuflags
parentfebe5356d5c32a1c28003d1d15dec360c93882e9 (diff)
downloadpkgsrc-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/Makefile4
-rwxr-xr-xdevel/cpuflags/files/cpuflags.Linux4
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD3
-rwxr-xr-xdevel/cpuflags/files/cpuflags.SunOS3
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'"
}