summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-11-27 12:26:11 +0000
committerabs <abs@pkgsrc.org>2001-11-27 12:26:11 +0000
commit095c00cc6776fac3b2ddb234107941ba4b774d51 (patch)
treec5b9fa4c959de4dabacd615a68bf7ad55af52291 /devel/cpuflags
parentfaee13f7a04bb80876d23e27f7bb494ef73096ca (diff)
downloadpkgsrc-095c00cc6776fac3b2ddb234107941ba4b774d51.tar.gz
Update devel/cpuflags to 0.12
For unknown machine types, suggest people feed details back
Diffstat (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/Makefile4
-rwxr-xr-xdevel/cpuflags/files/cpuflags.Linux14
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD5
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