summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-08-07 10:57:08 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-08-07 10:57:08 +0000
commit722e97690cc2482409a0655f9deed2765644a28f (patch)
treeab4ab214ab4a843b74427d835862c5e9d937381c /media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild
parentAllow mozilla to read ~/.local (diff)
downloadgentoo-2-722e97690cc2482409a0655f9deed2765644a28f.tar.gz
gentoo-2-722e97690cc2482409a0655f9deed2765644a28f.tar.bz2
gentoo-2-722e97690cc2482409a0655f9deed2765644a28f.zip
Leave setting -g and -O levels to user with debug build wrt #376895
(Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild')
-rw-r--r--media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild b/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild
index ad7eac2c6ff1..8df53fa2201a 100644
--- a/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild
+++ b/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild,v 1.6 2011/08/01 18:21:59 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aqualung/aqualung-0.9_beta11-r1.ebuild,v 1.7 2011/08/07 10:57:08 ssuominen Exp $
EAPI=4
@@ -48,9 +48,12 @@ S=${WORKDIR}/${PN}-${MY_PV}
src_prepare() {
epatch "${FILESDIR}"/${P}-use_lrdf_cflags.patch
- sed -i -e 's:$(pkgdatadir)/doc:/usr/share/doc/${PF}:' \
+ sed -i \
+ -e 's:$(pkgdatadir)/doc:/usr/share/doc/${PF}:' \
doc/Makefile.am || die
- sed -i -e 's:BUILD_CFLAGS="-O2":BUILD_CFLAGS="":' \
+ sed -i \
+ -e '/BUILD_CFLAGS/s:-O2::' \
+ -e '/BUILD_CFLAGS/s: -ggdb -g -O0::' \
configure.ac || die
eautoreconf
}