summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-26 17:04:11 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-26 17:04:11 +0000
commit1907c76ec44ef44fb48dd7141bb27a490cd5e7a9 (patch)
treebb12986a6905cd4f47b10bd67b9b8617f49f6e9f /x11-wm/afterstep/afterstep-2.2.9.ebuild
parentStable on amd64 wrt bug #323567 (diff)
downloadgentoo-2-1907c76ec44ef44fb48dd7141bb27a490cd5e7a9.tar.gz
gentoo-2-1907c76ec44ef44fb48dd7141bb27a490cd5e7a9.tar.bz2
gentoo-2-1907c76ec44ef44fb48dd7141bb27a490cd5e7a9.zip
Force -j1 for src_compile and remove hardcoded -O3 optimization from libAfterBase and Image.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/afterstep/afterstep-2.2.9.ebuild')
-rw-r--r--x11-wm/afterstep/afterstep-2.2.9.ebuild31
1 files changed, 21 insertions, 10 deletions
diff --git a/x11-wm/afterstep/afterstep-2.2.9.ebuild b/x11-wm/afterstep/afterstep-2.2.9.ebuild
index e675bbb0a47c..b799f723cf52 100644
--- a/x11-wm/afterstep/afterstep-2.2.9.ebuild
+++ b/x11-wm/afterstep/afterstep-2.2.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/afterstep/afterstep-2.2.9.ebuild,v 1.11 2010/06/26 16:23:39 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/afterstep/afterstep-2.2.9.ebuild,v 1.12 2010/06/26 17:04:11 ssuominen Exp $
EAPI=2
inherit autotools flag-o-matic eutils
@@ -47,17 +47,28 @@ src_prepare() {
"${FILESDIR}"/${P}-make_session_data_file.patch \
"${FILESDIR}"/${P}-alpha.patch
- # Do not strip binaries, bug #252119
- sed -e "/STRIP_BINARIES/s/-s//" \
- -i autoconf/configure.in || die "strip sed failed"
- # Do not use bundled libungif, bug #253259
- sed -e '/--with-builtin-gif/s/$with_gif/no/' \
- -i autoconf/configure.in || die "bundled gif sed failed"
+ sed -i \
+ -e '/CFLAGS="-O3"/d' \
+ libAfter{Base,Image}/configure || die
- cd "${S}"/autoconf || die "cd autoconf failed"
+ sed -i \
+ -e "/STRIP_BINARIES/s/-s//" \
+ autoconf/configure.in || die #252119
+
+ sed -i \
+ -e '/--with-builtin-gif/s/$with_gif/no/' \
+ autoconf/configure.in || die #253259
+
+ cd "${S}"/autoconf || die
eautoreconf
- cp "${S}"/autoconf/autoconf/config.h.in "${S}"/autoconf || die "cp failed"
- cp "${S}"/autoconf/configure "${S}" || die "cp failed"
+ cp "${S}"/autoconf/autoconf/config.h.in "${S}"/autoconf || die
+ cp "${S}"/autoconf/configure "${S}" || die
+}
+
+src_compile() {
+ # gcc: ../libAfterConf/libAfterConf.a: No such file or directory
+ # make[1]: *** [PrintDesktopEntries] Error 1
+ emake -j1 || die
}
src_configure() {