summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-09-25 08:47:58 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-09-25 08:47:58 +0000
commit649620930e0e1e9a76c0fb34dca99ae7f59d11ef (patch)
tree08c07b7a953fadf4dcaed622b98ebeca966743fb /media-libs/xine-lib
parentRevision bump (diff)
downloadgentoo-2-649620930e0e1e9a76c0fb34dca99ae7f59d11ef.tar.gz
gentoo-2-649620930e0e1e9a76c0fb34dca99ae7f59d11ef.tar.bz2
gentoo-2-649620930e0e1e9a76c0fb34dca99ae7f59d11ef.zip
Remove forced -O0 to -O3 from configure using sed in late src_prepare()
(Portage version: 2.2.6/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-libs/xine-lib')
-rw-r--r--media-libs/xine-lib/ChangeLog6
-rw-r--r--media-libs/xine-lib/xine-lib-1.2.4.ebuild7
-rw-r--r--media-libs/xine-lib/xine-lib-1.2.9999.ebuild7
3 files changed, 17 insertions, 3 deletions
diff --git a/media-libs/xine-lib/ChangeLog b/media-libs/xine-lib/ChangeLog
index f4c59366e6b1..cdbfdf1d29ce 100644
--- a/media-libs/xine-lib/ChangeLog
+++ b/media-libs/xine-lib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/xine-lib
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.697 2013/09/25 08:05:54 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.698 2013/09/25 08:47:58 ssuominen Exp $
+
+ 25 Sep 2013; Samuli Suominen <ssuominen@gentoo.org> xine-lib-1.2.4.ebuild,
+ xine-lib-1.2.9999.ebuild:
+ Remove forced -O0 to -O3 from configure using sed in late src_prepare()
25 Sep 2013; Samuli Suominen <ssuominen@gentoo.org> xine-lib-1.2.1-r1.ebuild,
xine-lib-1.2.2.ebuild, xine-lib-1.2.3.ebuild:
diff --git a/media-libs/xine-lib/xine-lib-1.2.4.ebuild b/media-libs/xine-lib/xine-lib-1.2.4.ebuild
index 4b98442c02cb..d1949a863533 100644
--- a/media-libs/xine-lib/xine-lib-1.2.4.ebuild
+++ b/media-libs/xine-lib/xine-lib-1.2.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.4.ebuild,v 1.1 2013/09/25 07:57:15 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.4.ebuild,v 1.2 2013/09/25 08:47:58 ssuominen Exp $
EAPI=5
@@ -121,6 +121,11 @@ src_prepare() {
else
elibtoolize
fi
+
+ local x
+ for x in 0 1 2 3; do
+ sed -i -e "/^O${x}_CFLAGS=\"-O${x}\"/d" configure || die
+ done
}
src_configure() {
diff --git a/media-libs/xine-lib/xine-lib-1.2.9999.ebuild b/media-libs/xine-lib/xine-lib-1.2.9999.ebuild
index 40fb46552763..33a8b87d9258 100644
--- a/media-libs/xine-lib/xine-lib-1.2.9999.ebuild
+++ b/media-libs/xine-lib/xine-lib-1.2.9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.9999.ebuild,v 1.24 2013/08/27 20:33:21 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.9999.ebuild,v 1.25 2013/09/25 08:47:58 ssuominen Exp $
EAPI=5
@@ -121,6 +121,11 @@ src_prepare() {
else
elibtoolize
fi
+
+ local x
+ for x in 0 1 2 3; do
+ sed -i -e "/^O${x}_CFLAGS=\"-O${x}\"/d" configure || die
+ done
}
src_configure() {