pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cpuflags Updated devel/cpuflags to 1.30
details: https://anonhg.NetBSD.org/pkgsrc/rev/00ee77ccc3d9
branches: trunk
changeset: 552167:00ee77ccc3d9
user: abs <abs%pkgsrc.org@localhost>
date: Wed Dec 31 14:49:54 2008 +0000
description:
Updated devel/cpuflags to 1.30
Add:
"Intel(R) Pentium(R) M processor "*
diffstat:
devel/cpuflags/Makefile | 4 ++--
devel/cpuflags/files/cpuflags.sh | 6 +++---
devel/cpuflags/files/subr_x86 | 4 +++-
3 files changed, 8 insertions(+), 6 deletions(-)
diffs (58 lines):
diff -r 5ef1e3c6de2d -r 00ee77ccc3d9 devel/cpuflags/Makefile
--- a/devel/cpuflags/Makefile Wed Dec 31 14:36:17 2008 +0000
+++ b/devel/cpuflags/Makefile Wed Dec 31 14:49:54 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.135 2008/12/23 09:48:38 abs Exp $
+# $NetBSD: Makefile,v 1.136 2008/12/31 14:49:54 abs Exp $
-DISTNAME= cpuflags-1.29
+DISTNAME= cpuflags-1.30
CATEGORIES= devel sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 5ef1e3c6de2d -r 00ee77ccc3d9 devel/cpuflags/files/cpuflags.sh
--- a/devel/cpuflags/files/cpuflags.sh Wed Dec 31 14:36:17 2008 +0000
+++ b/devel/cpuflags/files/cpuflags.sh Wed Dec 31 14:49:54 2008 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.sh,v 1.3 2007/08/27 10:09:22 abs Exp $
+# $NetBSD: cpuflags.sh,v 1.4 2008/12/31 14:49:54 abs Exp $
PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
include()
@@ -89,8 +89,8 @@
fi
if [ -z "$ARCH" -a -z "$NOARCH" ] ; then
- echo 'Unknown machine - please send details to abs%absd.org@localhost' >&2
- display_hw_details >&2
+ echo 'Unknown machine - please send cpuflags details to abs%absd.org@localhost' >&2
+ display_hw_details >&2
fi
echo $CPUFLAGS
diff -r 5ef1e3c6de2d -r 00ee77ccc3d9 devel/cpuflags/files/subr_x86
--- a/devel/cpuflags/files/subr_x86 Wed Dec 31 14:36:17 2008 +0000
+++ b/devel/cpuflags/files/subr_x86 Wed Dec 31 14:49:54 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: subr_x86,v 1.7 2008/12/23 09:48:38 abs Exp $
+# $NetBSD: subr_x86,v 1.8 2008/12/31 14:49:54 abs Exp $
# Apparently the only way to reliably determine the architecture of a recent
# Intel CPU is to use the cpu brand string - as they reused family and
@@ -16,6 +16,7 @@
case "$1" in
"AMD-K6(tm)-III Processor"*) echo '-march=k6-3' ;;
"VIA Nehemiah"*) echo '-march=c3' ;;
+
"Genuine Intel(R) CPU T2400"*) echo '-march=core2' ;;
"Intel(R) Atom(TM) CPU N270 "*) echo '-march=prescott' ;;#So far
"Intel(R) Celeron(R) CPU E1400"*) echo '-march=core2' ;;
@@ -30,6 +31,7 @@
"Intel(R) Pentium(R) 4 CPU 3.00GHz") echo '-march=prescott' ;;
"Intel(R) Pentium(R) 4 CPU 3.20GHz") echo '-march=prescott' ;;
"Intel(R) Pentium(R) D CPU "*) echo '-march=prescott' ;;
+ "Intel(R) Pentium(R) M processor "*) echo '-march=pentium-m' ;;
"Intel(R) Xeon(R) CPU 3040"*) echo '-march=core2' ;;
"Intel(R) Xeon(R) CPU 3050"*) echo '-march=core2' ;;
"Pentium(R) Dual-Core CPU E5200"*) echo '-march=core2' ;;
Home |
Main Index |
Thread Index |
Old Index