summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs>2004-04-22 12:00:05 +0000
committerabs <abs>2004-04-22 12:00:05 +0000
commit3a6b7ff401744026f31d5ecf9c11d6fd3784007c (patch)
tree6ea4bd7d5ed2f08cc0628245eb0b946814fc03f5 /devel/cpuflags
parente4e51480f33467b3f2bb52616f6f506b5f7ab05a (diff)
downloadpkgsrc-3a6b7ff401744026f31d5ecf9c11d6fd3784007c.tar.gz
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 (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/Makefile4
-rwxr-xr-xdevel/cpuflags/files/cpuflags.NetBSD7
-rw-r--r--devel/cpuflags/files/optimize_gcc.mk4
3 files changed, 8 insertions, 7 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index 8ba82e0eba4..c3c945490b9 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -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 --git a/devel/cpuflags/files/cpuflags.NetBSD b/devel/cpuflags/files/cpuflags.NetBSD
index 6a4d0eb887a..5383b9bf601 100755
--- a/devel/cpuflags/files/cpuflags.NetBSD
+++ b/devel/cpuflags/files/cpuflags.NetBSD
@@ -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 @@ case $hw_machine_arch in
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 @@ fi
# -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 --git a/devel/cpuflags/files/optimize_gcc.mk b/devel/cpuflags/files/optimize_gcc.mk
index 0aeecd96ea5..78cd3e8ac1a 100644
--- a/devel/cpuflags/files/optimize_gcc.mk
+++ b/devel/cpuflags/files/optimize_gcc.mk
@@ -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 @@ PKGBASE=${.CURDIR:C:.*/::}
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