summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-08-30 19:40:57 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-08-30 19:40:57 +0000
commitd6c8c040ef0eb9c0e0772005ed143f8d00cc8d10 (patch)
treed9ca952147707b509efb98d36c2ff9df6b7fdc04 /dev-lang/pcc/pcc-1.0.0_pre100604.ebuild
parentBump (diff)
downloadgentoo-2-d6c8c040ef0eb9c0e0772005ed143f8d00cc8d10.tar.gz
gentoo-2-d6c8c040ef0eb9c0e0772005ed143f8d00cc8d10.tar.bz2
gentoo-2-d6c8c040ef0eb9c0e0772005ed143f8d00cc8d10.zip
Bump, fixing stripping #335274
(Portage version: 2.2_rc72/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/pcc/pcc-1.0.0_pre100604.ebuild')
-rw-r--r--dev-lang/pcc/pcc-1.0.0_pre100604.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-lang/pcc/pcc-1.0.0_pre100604.ebuild b/dev-lang/pcc/pcc-1.0.0_pre100604.ebuild
index d9834762e1cf..0b1378ec1540 100644
--- a/dev-lang/pcc/pcc-1.0.0_pre100604.ebuild
+++ b/dev-lang/pcc/pcc-1.0.0_pre100604.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/pcc/pcc-1.0.0_pre100604.ebuild,v 1.1 2010/06/04 13:04:02 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/pcc/pcc-1.0.0_pre100604.ebuild,v 1.2 2010/08/30 19:40:57 patrick Exp $
EAPI=2
-inherit eutils versionator
+inherit eutils versionator autotools
# extract date stamp for later use
ver=$(get_version_component_range 4)
@@ -24,6 +24,11 @@ RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}-$ver
+src_prepare() {
+ sed -i -e 's/AC_CHECK_PROG(strip,strip,yes,no)//' configure.ac || die "Failed to fix configure.ac"
+ sed -i -e 's/AC_SUBST(strip)//' configure.ac || die "Failed to fix configure.ac more"
+ eautoreconf || die "Configure fail"
+}
src_compile() {
# not parallel-safe yet
emake -j1 || die "emake failed"