summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2005-02-18 17:20:38 +0000
committerabs <abs>2005-02-18 17:20:38 +0000
commite2782dc763c5f988e6e530140f7772c23ed0b33d (patch)
treef0823a2e7add35eef1e95292e64263cf45776611
parent9190ddb1f79c8fb40ce9e2b01826eb20b1147c12 (diff)
downloadpkgsrc-e2782dc763c5f988e6e530140f7772c23ed0b33d.tar.gz
update cpuflags to 0.82
firefox-gtk2 has severe issues (radio buttons on the download preferences are missing, and extensions break) if compiled with -ffast-math. Oh my aching head.
-rw-r--r--devel/cpuflags/Makefile4
-rw-r--r--devel/cpuflags/files/optimize_gcc.mk8
-rw-r--r--doc/CHANGES4
3 files changed, 11 insertions, 5 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index fb6a935daba..cf0972e9ae3 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.84 2005/01/29 14:58:39 abs Exp $
+# $NetBSD: Makefile,v 1.85 2005/02/18 17:20:38 abs Exp $
#
-DISTNAME= cpuflags-0.81
+DISTNAME= cpuflags-0.82
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/devel/cpuflags/files/optimize_gcc.mk b/devel/cpuflags/files/optimize_gcc.mk
index 0946a989426..7857e62e5bd 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.18 2005/01/29 14:58:40 abs Exp $
+# $Id: optimize_gcc.mk,v 1.19 2005/02/18 17:20:38 abs Exp $
# This file is 'experimental' - which is doublespeak for unspeakably
# ugly, and probably quite broken by design.
@@ -33,7 +33,7 @@ PKG_EXCLUDE_OMIT_FRAME_POINTER+=firefox firefox-gtk2 galeon galeon-devel
PKG_EXCLUDE_OMIT_FRAME_POINTER+=lua lua4 mozilla mozilla-gtk2
PKG_EXCLUDE_OMIT_FRAME_POINTER+=thunderbird thunderbird-gtk2
PKG_EXCLUDE_INLINE_FUNCTIONS+=qemu userppp
-PKG_EXCLUDE_INLINE_FUNCTIONS+=firefox firefox-gtk2 # v1.0, NetBSD i386/2.0
+PKG_EXCLUDE_FAST_MATH+=firefox firefox-gtk2 # v1.0, NetBSD i386/2.0
.if !defined(USE_GCC3)
PKG_EXCLUDE_OMIT_FRAME_POINTER+=qt3-libs kdeedu3 koffice
.endif
@@ -46,6 +46,10 @@ COPT_FLAGS:= ${COPT_FLAGS:S/-fomit-frame-pointer//}
COPT_FLAGS:= ${COPT_FLAGS:S/-finline-functions//}
.endif
+.if !empty(PKG_EXCLUDE_FAST_MATH:M${PKGBASE})
+COPT_FLAGS:= ${COPT_FLAGS:S/-ffast-math//}
+.endif
+
CFLAGS+=${COPT_FLAGS}
CXXFLAGS+=${COPT_FLAGS}
MAKE_FLAGS+=CCOPTIONS="${COPT_FLAGS}" # Override CCOPTIONS for imake
diff --git a/doc/CHANGES b/doc/CHANGES
index ee8e0555c8d..d5d27c01357 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.9188 2005/02/18 17:05:27 adrianp Exp $
+$NetBSD: CHANGES,v 1.9189 2005/02/18 17:21:35 abs Exp $
Changes to the packages collection and infrastructure in 2005:
@@ -930,3 +930,5 @@ Changes to the packages collection and infrastructure in 2005:
Updated docbook to 4.4 [wiz 2005-02-18]
Updated dsssl-docbook-modular to 1.79 [wiz 2005-02-18]
Updated freeradius to 1.0.2 [adrianp 2005-02-18]
+ Updated cpuflags to 0.82 [abs 2005-02-18]
+