diff options
author | abs <abs> | 2001-11-27 12:26:11 +0000 |
---|---|---|
committer | abs <abs> | 2001-11-27 12:26:11 +0000 |
commit | 0da8b7ea71e76265ddeb0e02d86347c9d1020f8a (patch) | |
tree | c5b9fa4c959de4dabacd615a68bf7ad55af52291 | |
parent | bafef75021e0f5bce8fe869948f786989aea4f2a (diff) | |
download | pkgsrc-0da8b7ea71e76265ddeb0e02d86347c9d1020f8a.tar.gz |
Update devel/cpuflags to 0.12
For unknown machine types, suggest people feed details back
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.Linux | 14 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.NetBSD | 5 |
3 files changed, 13 insertions, 10 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index cd012d0422e..dc34354cc8f 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.12 2001/11/27 02:31:48 abs Exp $ +# $NetBSD: Makefile,v 1.13 2001/11/27 12:26:11 abs Exp $ # -DISTNAME= cpuflags-0.11 +DISTNAME= cpuflags-0.12 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/cpuflags.Linux b/devel/cpuflags/files/cpuflags.Linux index 07dc28cd9a2..e2cea2740e6 100755 --- a/devel/cpuflags/files/cpuflags.Linux +++ b/devel/cpuflags/files/cpuflags.Linux @@ -1,16 +1,18 @@ #!/bin/sh -# $NetBSD: cpuflags.Linux,v 1.4 2001/11/27 02:31:48 abs Exp $ +# $NetBSD: cpuflags.Linux,v 1.5 2001/11/27 12:26:12 abs Exp $ hw_model=`uname -m` case $hw_model in # i386 - i386*) FLAGS='-march=i386' ;; - i486*) FLAGS='-march=i486' ;; - i586*) FLAGS='-march=pentium' ;; - i686*) FLAGS='-march=pentiumpro' ;; + i386) FLAGS='-march=i386' ;; + i486) FLAGS='-march=i486' ;; + i586) FLAGS='-march=pentium' ;; + i686) FLAGS='-march=pentiumpro' ;; # - *) echo "Unknown hw.model '$hw_model'" >&2 + *) echo "Unknown hw.model '$hw_model'" >&2 + echo "Please send machine details to abs@netbsd.org" >&2 + ;; esac # Fixup flags for old gcc diff --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD index 228a498dc38..7966e789cde 100755 --- a/devel/cpuflags/files/cpuflags.NetBSD +++ b/devel/cpuflags/files/cpuflags.NetBSD @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.NetBSD,v 1.12 2001/11/27 02:31:48 abs Exp $ +# $NetBSD: cpuflags.NetBSD,v 1.13 2001/11/27 12:26:12 abs Exp $ if [ -x /sbin/sysctl ] ;then SYSCTL=/sbin/sysctl @@ -55,7 +55,8 @@ case $hw_model in vax) ;; # No VAX specific gcc flags :( *) - echo "Unknown hw.model '$hw_model'" >&2 + echo "Unknown hw.model '$hw_model'" >&2 + echo "Please send machine details to abs@netbsd.org" >&2 esac esac |