summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs>2001-09-16 16:30:08 +0000
committerabs <abs>2001-09-16 16:30:08 +0000
commitfb8a61a5ffa2cb6f5388f4589beedab7b718a021 (patch)
treee2ccf4b2fae8fdb98b219630f9761c4716a5cbf9 /devel/cpuflags
parent61bef0a43f0742b68d274d3ab5d8bac5b8916756 (diff)
downloadpkgsrc-fb8a61a5ffa2cb6f5388f4589beedab7b718a021.tar.gz
Updated cpuflags to 0.10:
There are no vax specific gcc optimisation flags (mores the pity).
Diffstat (limited to 'devel/cpuflags')
-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