summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorabs <abs>2002-07-17 10:10:39 +0000
committerabs <abs>2002-07-17 10:10:39 +0000
commit8e65affd0a7fab2bc17f2656cb6513517ac6af09 (patch)
treeaffacdc58141b515259cb71d35d70c7dee4a7c9c /devel
parent481e5cd2038410e394aee9fbd24c651b01ae7332 (diff)
downloadpkgsrc-8e65affd0a7fab2bc17f2656cb6513517ac6af09.tar.gz
Updated cpuflags to 0.28
Correctly fix amiga CPU parsing. Fix from Tim Preston.
Diffstat (limited to 'devel')
-rw-r--r--devel/cpuflags/Makefile4
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD24
2 files changed, 14 insertions, 14 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index 529a55c8740..ab8b82cd2fb 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2002/07/16 10:42:45 abs Exp $
+# $NetBSD: Makefile,v 1.28 2002/07/17 10:10:39 abs Exp $
#
-DISTNAME= cpuflags-0.27
+DISTNAME= cpuflags-0.28
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD
index dec58574d60..efb71aa0c36 100755
--- a/devel/cpuflags/files/cpuflags.NetBSD
+++ b/devel/cpuflags/files/cpuflags.NetBSD
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.NetBSD,v 1.22 2002/07/15 10:48:47 abs Exp $
+# $NetBSD: cpuflags.NetBSD,v 1.23 2002/07/17 10:10:40 abs Exp $
if [ -x /sbin/sysctl ] ;then
SYSCTL=/sbin/sysctl
@@ -22,8 +22,8 @@ case $hw_machine_arch in
alpha)
# cpu0 at mainbus0: ID 0 (primary), 21164A-0 (unknown ...
case "`egrep '^cpu0 ' /var/run/dmesg.boot`" in
- *21164A*) FLAGS="-mcpu=21164a" ;;
- *21066*) FLAGS="-mcpu=21064" ;;
+ *\ 21164A\ *) FLAGS="-mcpu=21164a" ;;
+ *\ 21066\ *) FLAGS="-mcpu=21064" ;;
esac
;;
@@ -51,18 +51,18 @@ case $hw_machine_arch in
esac ;;
i386) case $hw_model in
- *386-class*) FLAGS='-march=i386' ;;
- *486-class*) FLAGS='-march=i486' ;;
- *AMD\ K6*) FLAGS='-march=k6' ;;
- *586-class*) FLAGS='-march=pentium' ;;
- *686-class*) FLAGS='-march=pentiumpro' ;;
+ *386-class*) FLAGS='-march=i386' ;;
+ *486-class*) FLAGS='-march=i486' ;;
+ *AMD\ K6*) FLAGS='-march=k6' ;;
+ *586-class*) FLAGS='-march=pentium' ;;
+ *686-class*) FLAGS='-march=pentiumpro' ;;
esac ;;
m68k) case $hw_model in # Examples
- *\(68020) FLAGS='-m68020' ;; # Untested
- *\(68030) FLAGS='-m68030' ;; # Mac LC III
- *\(68040) FLAGS='-m68040' ;; # Untested
- *\(68060) FLAGS='-m68060' ;; # Upgr amiga 3000
+ *\(68020*) FLAGS='-m68020' ;; # Untested
+ *\(68030*) FLAGS='-m68030' ;; # Mac LC III
+ *\(68040*) FLAGS='-m68040' ;; # Untested
+ *\(68060*) FLAGS='-m68060' ;; # Upgr amiga 3000
esac ;;
powerpc) case $hw_model in # Examples