summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-16 04:52:54 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-16 04:52:54 +0000
commit8eb01161d22722075ad9b6db25895cf101a0b528 (patch)
tree201877811ab674bdb31f841211c87a2164fc863d /dev-libs/DirectFB
parentAdded sparc stable keyword (diff)
downloadgentoo-2-8eb01161d22722075ad9b6db25895cf101a0b528.tar.gz
gentoo-2-8eb01161d22722075ad9b6db25895cf101a0b528.tar.bz2
gentoo-2-8eb01161d22722075ad9b6db25895cf101a0b528.zip
Scrub CFLAGS from configure.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r--dev-libs/DirectFB/ChangeLog8
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.24.ebuild8
-rw-r--r--dev-libs/DirectFB/files/DirectFB-0.9.24-CFLAGS.patch26
3 files changed, 39 insertions, 3 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog
index 68c8fde30f03..acf3cf55338c 100644
--- a/dev-libs/DirectFB/ChangeLog
+++ b/dev-libs/DirectFB/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/DirectFB
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.50 2005/10/28 00:21:35 vapier Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.51 2006/04/16 04:52:54 vapier Exp $
+
+ 16 Apr 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/DirectFB-0.9.24-CFLAGS.patch, DirectFB-0.9.24.ebuild:
+ Scrub CFLAGS from configure.
*DirectFB-0.9.24 (28 Oct 2005)
diff --git a/dev-libs/DirectFB/DirectFB-0.9.24.ebuild b/dev-libs/DirectFB/DirectFB-0.9.24.ebuild
index 0f30900bef7e..b69feb99b00e 100644
--- a/dev-libs/DirectFB/DirectFB-0.9.24.ebuild
+++ b/dev-libs/DirectFB/DirectFB-0.9.24.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.24.ebuild,v 1.3 2006/01/04 00:07:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.24.ebuild,v 1.4 2006/04/16 04:52:54 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -40,6 +40,12 @@ pkg_setup() {
fi
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-CFLAGS.patch
+}
+
src_compile() {
# force disable wm97xx #36924
# export ac_cv_header_linux_wm97xx_h=no
diff --git a/dev-libs/DirectFB/files/DirectFB-0.9.24-CFLAGS.patch b/dev-libs/DirectFB/files/DirectFB-0.9.24-CFLAGS.patch
new file mode 100644
index 000000000000..b541e5ca9df3
--- /dev/null
+++ b/dev-libs/DirectFB/files/DirectFB-0.9.24-CFLAGS.patch
@@ -0,0 +1,26 @@
+--- configure
++++ configure
+@@ -21384,7 +21384,6 @@
+ CFLAGS=
+ fi
+
+-CFLAGS="-O3 -ffast-math -pipe $CFLAGS"
+
+ DFB_INTERNAL_CFLAGS="-D_GNU_SOURCE $DFB_INTERNAL_CFLAGS"
+
+@@ -21903,7 +21902,6 @@
+ enable_debug=no
+ fi;
+ if test "$enable_debug" = "yes"; then
+- CFLAGS="$CFLAGS -g3 -fno-inline"
+ DIRECT_BUILD_DEBUG=1
+ else
+ DIRECT_BUILD_DEBUG=0
+@@ -21929,7 +21927,6 @@
+ enable_trace=no
+ fi;
+ if test "$enable_trace" = "yes"; then
+- DFB_INTERNAL_CFLAGS="$DFB_INTERNAL_CFLAGS -finstrument-functions"
+ DIRECT_BUILD_TRACE=1
+ else
+ DIRECT_BUILD_TRACE=0