summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-03-11 09:25:37 +0000
committerabs <abs@pkgsrc.org>2002-03-11 09:25:37 +0000
commit2f6457756aa43b453ef87f2f15860bf3ec20f7ce (patch)
tree69b85f2b61a591f6f70b909d91f5f19644ec5133
parent860cf81fecef64ffc741c777221828b48218e614 (diff)
downloadpkgsrc-2f6457756aa43b453ef87f2f15860bf3ec20f7ce.tar.gz
Updated cpuflags to 0.19
Handle Apple Macintosh LC III, and potentially many other m68k machines. (Thanks to Sean)
-rw-r--r--devel/cpuflags/Makefile4
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD9
2 files changed, 9 insertions, 4 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index 28daa765f55..b0341001a4f 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2002/01/28 08:26:08 abs Exp $
+# $NetBSD: Makefile,v 1.19 2002/03/11 09:25:37 abs Exp $
#
-DISTNAME= cpuflags-0.18
+DISTNAME= cpuflags-0.19
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD
index d3c543a50e8..cc45ddf81df 100755
--- a/devel/cpuflags/files/cpuflags.NetBSD
+++ b/devel/cpuflags/files/cpuflags.NetBSD
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.NetBSD,v 1.17 2002/01/28 08:26:08 abs Exp $
+# $NetBSD: cpuflags.NetBSD,v 1.18 2002/03/11 09:25:37 abs Exp $
if [ -x /sbin/sysctl ] ;then
SYSCTL=/sbin/sysctl
@@ -23,6 +23,11 @@ case $hw_model in
*AMD\ K6*) FLAGS='-march=k6' ;;
*586-class*) FLAGS='-march=pentium' ;;
*686-class*) FLAGS='-march=pentiumpro' ;;
+ # m68k
+ *\(68020\)) FLAGS='-m68020' ;; # Untested
+ *\(68030\)) FLAGS='-m68030' ;; # Mac LC III
+ *\(68040\)) FLAGS='-m68040' ;; # Untested
+ *\(68060\)) FLAGS='-m68060' ;; # Untested
#
# sparc
MB86904* | MB86907*) FLAGS="-mcpu=supersparc" ;; # ss5
@@ -35,7 +40,7 @@ case $hw_model in
# under 1.5.1 -mcpu=ultrasparc chokes egcs-2.91.66 compiling perl
SUNW,UltraSPARC*) FLAGS="-mcpu=v9" ;; # Ultra
#
- # arm32
+ # arm
ARM610*) FLAGS="-mcpu=arm610" ;; # risc pc
ARM710*) FLAGS="-mcpu=arm710" ;; # risc pc
SA-110*)