pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cpuflags Updated devel/cpuflags to 1.40



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a3f41b4f536
branches:  trunk
changeset: 555924:1a3f41b4f536
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Mar 12 23:57:28 2009 +0000

description:
Updated devel/cpuflags to 1.40

Doublequote the eval arguments to ensure whitespace is preserved, so
a cpu_brand of "Genuine Intel(R) CPU           T2500  @ 2.00GHz"
is not converted down to "Genuine Intel(R) CPU T2500 @ 2.00GHz"

diffstat:

 devel/cpuflags/Makefile          |  4 ++--
 devel/cpuflags/files/subr_NetBSD |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r f9520e4c63c5 -r 1a3f41b4f536 devel/cpuflags/Makefile
--- a/devel/cpuflags/Makefile   Thu Mar 12 22:31:41 2009 +0000
+++ b/devel/cpuflags/Makefile   Thu Mar 12 23:57:28 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.145 2009/03/04 00:32:44 abs Exp $
+# $NetBSD: Makefile,v 1.146 2009/03/12 23:57:28 abs Exp $
 
-DISTNAME=      cpuflags-1.39
+DISTNAME=      cpuflags-1.40
 CATEGORIES=    devel sysutils
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r f9520e4c63c5 -r 1a3f41b4f536 devel/cpuflags/files/subr_NetBSD
--- a/devel/cpuflags/files/subr_NetBSD  Thu Mar 12 22:31:41 2009 +0000
+++ b/devel/cpuflags/files/subr_NetBSD  Thu Mar 12 23:57:28 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: subr_NetBSD,v 1.10 2009/01/09 12:54:15 abs Exp $
+# $NetBSD: subr_NetBSD,v 1.11 2009/03/12 23:57:28 abs Exp $
 
 AWK=awk
 SED=sed
@@ -28,7 +28,7 @@
        else
            cpu_details="$(grep ^cpu0: /var/run/dmesg.boot)"
        fi
-       eval $(extract_x86_cpu_vars)
+       eval "$(extract_x86_cpu_vars)"
     fi
 
     # We're almost certainly crosscompiling



Home | Main Index | Thread Index | Old Index