pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cpuflags Update cpuflags to 0.67:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba31eaa940c7
branches:  trunk
changeset: 473644:ba31eaa940c7
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Apr 22 12:00:05 2004 +0000

description:
Update cpuflags to 0.67:
        - Add 'Intel Mobile Pentium 4' from Benedikt Meurer
        - Fix exclusion of -fomit-frame-pointer mozilla-gtk2 in optimize_gcc.mk

diffstat:

 devel/cpuflags/Makefile              |  4 ++--
 devel/cpuflags/files/cpuflags.NetBSD |  7 ++++---
 devel/cpuflags/files/optimize_gcc.mk |  4 ++--
 3 files changed, 8 insertions(+), 7 deletions(-)

diffs (65 lines):

diff -r 6c463feaf793 -r ba31eaa940c7 devel/cpuflags/Makefile
--- a/devel/cpuflags/Makefile   Thu Apr 22 09:27:49 2004 +0000
+++ b/devel/cpuflags/Makefile   Thu Apr 22 12:00:05 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.70 2004/04/20 20:11:34 abs Exp $
+# $NetBSD: Makefile,v 1.71 2004/04/22 12:00:05 abs Exp $
 #
 
-DISTNAME=      cpuflags-0.66
+DISTNAME=      cpuflags-0.67
 CATEGORIES=    sysutils
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 6c463feaf793 -r ba31eaa940c7 devel/cpuflags/files/cpuflags.NetBSD
--- a/devel/cpuflags/files/cpuflags.NetBSD      Thu Apr 22 09:27:49 2004 +0000
+++ b/devel/cpuflags/files/cpuflags.NetBSD      Thu Apr 22 12:00:05 2004 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: cpuflags.NetBSD,v 1.47 2004/04/01 19:44:59 abs Exp $
+# $NetBSD: cpuflags.NetBSD,v 1.48 2004/04/22 12:00:05 abs Exp $
 
 if [ -x /sbin/sysctl ] ;then
     SYSCTL=/sbin/sysctl
@@ -62,12 +62,13 @@
        esac ;;
 
     i386) case $hw_model in
-       *Intel\ Pentium/MMX\ *)         FLAGS='-march=pentium-mmx'      ;;
+       *Intel\ Pentium/MMX\ *)         FLAGS='-march=pentium-mmx'      ;;
        *Intel\ Pentium\ II\ *)         FLAGS='-march=pentium2'         ;;
        *Intel\ Pentium\ III\ *)        FLAGS='-march=pentium3'         ;;
        *Intel\ Mobile\ Pentium\ III\ *) FLAGS='-march=pentium3'        ;;
        *Intel\ Celeron\ \(Mendocino\)\ *) FLAGS='-march=pentium3 -mno-sse' ;;
        *Intel\ Pentium\ M\ *)          FLAGS='-march=pentium3'         ;;
+       *Intel\ Mobile\ Pentium\ 4\ *)  FLAGS='-march=pentium4'         ;;
        *Intel\ Pentium\ 4\ *)          FLAGS='-march=pentium4'         ;;
        *AMD\ K6-III*)                  FLAGS='-march=k6-3'             ;;
        *AMD\ K6-2*)                    FLAGS='-march=k6-2'             ;;
@@ -169,7 +170,7 @@
 #   -march=k6-3 -> -march=k6 -> -march=pentium -> -march=i486
 #
 # The format of table is
-#   gcc_version_in_which_option_was_introduced  new_option  old_option
+#   gcc_version_in_which_option_was_introduced new_option  old_option
 
 if [ -n "$FLAGS" ]; then
     gcc_ver=`${CC} -dumpversion | sed 's/^egcs-//'`
diff -r 6c463feaf793 -r ba31eaa940c7 devel/cpuflags/files/optimize_gcc.mk
--- a/devel/cpuflags/files/optimize_gcc.mk      Thu Apr 22 09:27:49 2004 +0000
+++ b/devel/cpuflags/files/optimize_gcc.mk      Thu Apr 22 12:00:05 2004 +0000
@@ -1,4 +1,4 @@
-# $Id: optimize_gcc.mk,v 1.14 2004/04/20 20:11:34 abs Exp $
+# $Id: optimize_gcc.mk,v 1.15 2004/04/22 12:00:05 abs Exp $
 
 # This file is 'experimental' - which is doublespeak for unspeakably
 # ugly, and probably quite broken by design.
@@ -30,7 +30,7 @@
 COPT_FLAGS+=-ffast-math -fomit-frame-pointer
 
 PKG_EXCLUDE_OMIT_FRAME_POINTER+=galeon galeon-devel lua lua4
-PKG_EXCLUDE_OMIT_FRAME_POINTER+=mozilla mozilla-devel
+PKG_EXCLUDE_OMIT_FRAME_POINTER+=mozilla mozilla-gtk2
 PKG_EXCLUDE_INLINE_FUNCTIONS+=userppp
 .if !defined(USE_GCC3)
 PKG_EXCLUDE_OMIT_FRAME_POINTER+=qt3-libs kdeedu3 koffice



Home | Main Index | Thread Index | Old Index