summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/cpuflags/Makefile4
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD13
2 files changed, 13 insertions, 4 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index 379a06f0f70..1f3d724e84b 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2001/09/09 20:36:19 agc Exp $
+# $NetBSD: Makefile,v 1.11 2001/09/16 16:30:08 abs Exp $
#
-DISTNAME= cpuflags-0.9
+DISTNAME= cpuflags-0.10
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD
index 8c36a0e132a..e3130cdacaa 100755
--- a/devel/cpuflags/files/cpuflags.NetBSD
+++ b/devel/cpuflags/files/cpuflags.NetBSD
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: cpuflags.NetBSD,v 1.9 2001/08/27 20:58:38 abs Exp $
+# $NetBSD: cpuflags.NetBSD,v 1.10 2001/09/16 16:30:08 abs Exp $
if [ -x /sbin/sysctl ] ;then
SYSCTL=/sbin/sysctl
@@ -45,7 +45,16 @@ case $hw_model in
fi
esac ;;
#
- *) echo "Unknown hw.model '$hw_model'" >&2
+ # vax
+ #
+ *)
+ hw_machine=`$SYSCTL -n hw.machine` # arm32 split post 1.5
+ case $hw_machine in
+ vax)
+ ;; # No VAX specific gcc flags :(
+ *)
+ echo "Unknown hw.model '$hw_model'" >&2
+ esac
esac
if [ -n "$FLAGS" ]; then