summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-20 04:14:34 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-20 04:14:34 +0000
commit89daa673fd8c5263d7dbb441028fa3fde2ff9a2b (patch)
tree70b266f9f3ec41eecf252ccb1dd6ce6cd88cc758 /dev-libs/DirectFB-extra
parentremove old crufty version (diff)
downloadgentoo-2-89daa673fd8c5263d7dbb441028fa3fde2ff9a2b.tar.gz
gentoo-2-89daa673fd8c5263d7dbb441028fa3fde2ff9a2b.tar.bz2
gentoo-2-89daa673fd8c5263d7dbb441028fa3fde2ff9a2b.zip
Disable CFLAG hardcodes in package.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-libs/DirectFB-extra')
-rw-r--r--dev-libs/DirectFB-extra/ChangeLog6
-rw-r--r--dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild9
-rw-r--r--dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.25-CFLAGS.patch33
3 files changed, 43 insertions, 5 deletions
diff --git a/dev-libs/DirectFB-extra/ChangeLog b/dev-libs/DirectFB-extra/ChangeLog
index 512372901007..c4f02a426e09 100644
--- a/dev-libs/DirectFB-extra/ChangeLog
+++ b/dev-libs/DirectFB-extra/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/DirectFB-extra
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/ChangeLog,v 1.17 2007/02/22 00:27:42 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/ChangeLog,v 1.18 2007/03/20 04:14:34 vapier Exp $
+
+ 20 Mar 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/DirectFB-extra-0.9.25-CFLAGS.patch, DirectFB-extra-0.9.25.ebuild:
+ Disable CFLAG hardcodes in package.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild b/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild
index 8002dfef32ef..52947f2a037f 100644
--- a/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild
+++ b/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild,v 1.4 2006/10/30 23:33:53 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/DirectFB-extra-0.9.25.ebuild,v 1.5 2007/03/20 04:14:34 vapier Exp $
inherit eutils
@@ -26,13 +26,14 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-CFLAGS.patch
sed -i \
-e 's:libmpeg3\.h:libmpeg3/libmpeg3.h:g' \
configure interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_libmpeg3.c
}
src_compile() {
-# $(use_enable avi avifile) \
+ # $(use_enable avi avifile)
econf \
$(use_enable mmx) \
$(use_enable imlib imlib2) \
@@ -46,6 +47,6 @@ src_compile() {
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog NEWS README
}
diff --git a/dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.25-CFLAGS.patch b/dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.25-CFLAGS.patch
new file mode 100644
index 000000000000..75a241563b89
--- /dev/null
+++ b/dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.25-CFLAGS.patch
@@ -0,0 +1,33 @@
+--- interfaces/IDirectFBVideoProvider/video_out_dfb/Makefile.in
++++ interfaces/IDirectFBVideoProvider/video_out_dfb/Makefile.in
+@@ -201,7 +201,6 @@
+
+ @ENABLE_DEBUG_TRUE@AM_CPPFLAGS = -DLOG=1 -DLOG_VERBOSE=1
+
+-AM_CFLAGS = -fomit-frame-pointer
+
+ video_out_dfb_LTLIBRARIES = xineplug_vo_out_dfb.la
+
+--- configure
++++ configure
+@@ -19853,7 +19853,7 @@
+ DFB_CFLAGS="$DFB_CFLAGS $DFB_INTERNAL_CFLAGS -DREENTRANT"
+
+ if test "x$GCC" = xyes; then
+- DFB_CFLAGS="$DFB_CFLAGS -O3 -fexpensive-optimizations -ffast-math -Wall"
++ DFB_CFLAGS="$DFB_CFLAGS -ffast-math -Wall"
+ fi
+
+ #
+@@ -19910,9 +19910,9 @@
+ #define DFB_DEBUG 1
+ _ACEOF
+
+- DFB_CFLAGS="$DFB_CFLAGS -g3"
++ DFB_CFLAGS="$DFB_CFLAGS"
+ else
+- DFB_CFLAGS="$DFB_CFLAGS -g0"
++ DFB_CFLAGS="$DFB_CFLAGS"
+ fi
+
+