diff options
author | abs <abs> | 2001-09-16 16:30:08 +0000 |
---|---|---|
committer | abs <abs> | 2001-09-16 16:30:08 +0000 |
commit | 42e6ed40c1da0eb2c7dc540b988d5715cbc3b6ab (patch) | |
tree | e2ccf4b2fae8fdb98b219630f9761c4716a5cbf9 /devel | |
parent | b6d818052921c2e0f05be8aa1b2d9e4fe7af67bf (diff) | |
download | pkgsrc-42e6ed40c1da0eb2c7dc540b988d5715cbc3b6ab.tar.gz |
Updated cpuflags to 0.10:
There are no vax specific gcc optimisation flags (mores the pity).
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.NetBSD | 13 |
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 |