pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc Update cpuflags to 0.88



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e5c95badb10
branches:  trunk
changeset: 496308:4e5c95badb10
user:      abs <abs%pkgsrc.org@localhost>
date:      Sat Jun 25 10:50:49 2005 +0000

description:
Update cpuflags to 0.88
 - Add two more x86 entries to cpuflags.Linux
 - Avoid bogus setting of PKGBASE in optimize_gcc.mk

diffstat:

 devel/cpuflags/Makefile              |   4 ++--
 devel/cpuflags/files/cpuflags.Linux  |   5 +++--
 devel/cpuflags/files/optimize_gcc.mk |  11 +++--------
 doc/CHANGES                          |   3 ++-
 4 files changed, 10 insertions(+), 13 deletions(-)

diffs (81 lines):

diff -r b08e0a7401e3 -r 4e5c95badb10 devel/cpuflags/Makefile
--- a/devel/cpuflags/Makefile   Sat Jun 25 10:47:56 2005 +0000
+++ b/devel/cpuflags/Makefile   Sat Jun 25 10:50:49 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.90 2005/05/01 22:03:37 abs Exp $
+# $NetBSD: Makefile,v 1.91 2005/06/25 10:50:49 abs Exp $
 #
 
-DISTNAME=      cpuflags-0.87
+DISTNAME=      cpuflags-0.88
 CATEGORIES=    sysutils
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r b08e0a7401e3 -r 4e5c95badb10 devel/cpuflags/files/cpuflags.Linux
--- a/devel/cpuflags/files/cpuflags.Linux       Sat Jun 25 10:47:56 2005 +0000
+++ b/devel/cpuflags/files/cpuflags.Linux       Sat Jun 25 10:50:49 2005 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: cpuflags.Linux,v 1.16 2005/05/01 22:03:37 abs Exp $
+# $NetBSD: cpuflags.Linux,v 1.17 2005/06/25 10:50:49 abs Exp $
 PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
 
 AWK=awk
@@ -31,6 +31,7 @@
        "AMD Athlon(tm) XP "*)          FLAGS='-march=athlon-xp'        ;;
        "AMD Duron(TM)")                FLAGS='-march=athlon'           ;;
        "AMD Duron(tm) ")               FLAGS='-march=athlon'           ;;
+       "Pentium II (Deschutes)")       FLAGS='-march=pentium2'         ;;
        "Celeron (Coppermine)")         FLAGS='-march=pentium3'         ;;
        "Intel(R) Pentium(R) 4 CPU "*)  FLAGS='-march=pentium4'         ;;
        "Intel(R) Pentium(R) III Mobile CPU"*) FLAGS='-march=pentium3m' ;;
@@ -38,7 +39,7 @@
        "Mobile Intel(R) Pentium(R) 4 - M "*) FLAGS='-march=pentium4m'  ;;
        "Pentium III (Coppermine)")     FLAGS='-march=pentium3'         ;;
        "Pentium III (Katmai)")         FLAGS='-march=pentium3'         ;;
-       "Intel(R) Celeron(R) CPU "*)
+       "Intel(R) Celeron(R) CPU "* | "Intel(R) Xeon(TM) CPU "*)
            case "$hw_flags" in
                *" sse2 "*)
                                        FLAGS='-march=pentium4'         ;;
diff -r b08e0a7401e3 -r 4e5c95badb10 devel/cpuflags/files/optimize_gcc.mk
--- a/devel/cpuflags/files/optimize_gcc.mk      Sat Jun 25 10:47:56 2005 +0000
+++ b/devel/cpuflags/files/optimize_gcc.mk      Sat Jun 25 10:50:49 2005 +0000
@@ -1,7 +1,7 @@
-# $Id: optimize_gcc.mk,v 1.21 2005/05/01 22:03:37 abs Exp $
+# $Id: optimize_gcc.mk,v 1.22 2005/06/25 10:50:49 abs Exp $
 
 # This file is 'experimental' - which is doublespeak for unspeakably
-# ugly, and probably quite broken by design.
+# ugly, and quite broken by design.
 #
 # The intention is to pass additional flags to gcc to further optimise
 # generated code. It _will_ make it impossible to debug, may fail to
@@ -20,12 +20,7 @@
 
 # This is a horrible mess, but how else to adjust per package?
 
-.if !defined(PKGBASE)
-PKGBASE=${PKGNAME:C/-[^-]*$//}
-.if ${PKGBASE} == "" 
-PKGBASE=${.CURDIR:C:.*/::}
-.endif
-.endif
+PKGBASE?=${PKGNAME:C/-[^-]*$//}
 
 COPT_FLAGS+=-ffast-math -fomit-frame-pointer
 
diff -r b08e0a7401e3 -r 4e5c95badb10 doc/CHANGES
--- a/doc/CHANGES       Sat Jun 25 10:47:56 2005 +0000
+++ b/doc/CHANGES       Sat Jun 25 10:50:49 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.10457 2005/06/25 07:03:03 lukem Exp $
+$NetBSD: CHANGES,v 1.10458 2005/06/25 10:51:38 abs Exp $
 
 Changes to the packages collection and infrastructure in 2005:
        
@@ -3019,3 +3019,4 @@
        Updated converters/nkf to 2.05 [taca 2005-06-25] 
        Updated converters/p5-nkf to 2.05 [taca 2005-06-25] 
        Updated net/tnftp to 20050625 [lukem 2005-06-25]
+       Updated devel/cpuflags to 0.88 [abs 2005-06-25]



Home | Main Index | Thread Index | Old Index