diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2006-10-01 00:59:36 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2006-10-01 00:59:36 +0000 |
commit | a402e8fe3cfb125c9db160a2e63f98a83e11b5a5 (patch) | |
tree | 81a8b220bae530da189767620bbef03827ca72ac /devel/cpuflags | |
parent | 0a1af338b20248a743584f2ea8fa488fda811faf (diff) | |
download | pkgsrc-a402e8fe3cfb125c9db160a2e63f98a83e11b5a5.tar.gz |
use psrinfo -v instead of -pv. On solaris-2.8, -p is supported (or so
says the man page) but seems to cause nothing to come out even with -v.
On solaris-2.9 (sparc), -p isn't supported which causes major failures.
On solaris-2.9 (i386), -p causes a failure.
Diffstat (limited to 'devel/cpuflags')
-rwxr-xr-x | devel/cpuflags/files/cpuflags.SunOS | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/cpuflags/files/cpuflags.SunOS b/devel/cpuflags/files/cpuflags.SunOS index 04ecdb79638..811def7781e 100755 --- a/devel/cpuflags/files/cpuflags.SunOS +++ b/devel/cpuflags/files/cpuflags.SunOS @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: cpuflags.SunOS,v 1.9 2006/09/15 14:37:32 abs Exp $ +# $NetBSD: cpuflags.SunOS,v 1.10 2006/10/01 00:59:36 dmcmahill Exp $ PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH AWK=nawk @@ -12,7 +12,7 @@ display_hw_details() } hw_arch=`/usr/bin/uname -m` -hw_psrinfo=`psrinfo -pv | $AWK 'NR==3{print}'` # Just gets the first CPU +hw_psrinfo=`psrinfo -v | $AWK 'NR==3{print}'` # Just gets the first CPU case $hw_arch in sun4c | sun4 ) FLAGS='-mcpu=cypress' ;; |