summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-06-03 10:17:48 +0000
committersalo <salo@pkgsrc.org>2003-06-03 10:17:48 +0000
commit6b285a97dbe334f03a4967f3d83d0bc13cbc0606 (patch)
tree83f75cde621b3bfd944302e4ab27e404529a3f85 /devel/cpuflags
parentd3b33181eeaa4070c51c0547390d73428672451e (diff)
downloadpkgsrc-6b285a97dbe334f03a4967f3d83d0bc13cbc0606.tar.gz
Version 0.43:
- match more Athlons XXX: This really should be more fine-grained. - whitespace
Diffstat (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/Makefile15
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD6
2 files changed, 10 insertions, 11 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index 865e84ccbeb..0f9897e66bc 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -1,14 +1,13 @@
-# $NetBSD: Makefile,v 1.44 2003/05/29 11:45:50 abs Exp $
+# $NetBSD: Makefile,v 1.45 2003/06/03 10:17:48 salo Exp $
#
-DISTNAME= cpuflags-0.42
-WRKSRC= ${WRKDIR}
-CATEGORIES= sysutils
-MASTER_SITES= # empty
-DISTFILES= # empty
+DISTNAME= cpuflags-0.43
+CATEGORIES= sysutils
+MASTER_SITES= # empty
+DISTFILES= # empty
-MAINTAINER= abs@netbsd.org
-COMMENT= Determine compiler flags to best target current cpu
+MAINTAINER= abs@netbsd.org
+COMMENT= Determine compiler flags to best target current cpu
ONLY_FOR_PLATFORM= NetBSD-*-* Linux-*-* SunOS-*-*
diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD
index ff14801426d..78f353efc34 100755
--- a/devel/cpuflags/files/cpuflags.NetBSD
+++ b/devel/cpuflags/files/cpuflags.NetBSD
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.NetBSD,v 1.35 2003/05/29 11:45:50 abs Exp $
+# $NetBSD: cpuflags.NetBSD,v 1.36 2003/06/03 10:17:48 salo Exp $
if [ -x /sbin/sysctl ] ;then
SYSCTL=/sbin/sysctl
@@ -60,12 +60,12 @@ case $hw_machine_arch in
i386) case $hw_model in
*Intel\ Pentium\ II\ *) FLAGS='-march=pentium2' ;;
- *Intel\ Pentium\ III\ *) FLAGS='-march=pentium3' ;;
+ *Intel\ Pentium\ III\ *) FLAGS='-march=pentium3' ;;
*Intel\ Pentium\ 4\ *) FLAGS='-march=pentium4' ;;
*AMD\ K6-III*) FLAGS='-march=k6-3' ;;
*AMD\ K6-2*) FLAGS='-march=k6-2' ;;
*AMD\ K6*) FLAGS='-march=k6' ;;
- *AMD\ K7*) FLAGS='-march=athlon' ;;
+ *AMD\ K7*|*AMD\ Athlon*) FLAGS='-march=athlon' ;;
*386-class*) FLAGS='-march=i386' ;;
*486-class*) FLAGS='-march=i486' ;;
*586-class*) FLAGS='-march=pentium' ;;