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
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')
-rw-r--r--dev-lang/pcc/ChangeLog8
-rw-r--r--dev-lang/pcc/pcc-1.0.0_pre100604.ebuild9
-rw-r--r--dev-lang/pcc/pcc-1.0.0_pre100830.ebuild40
3 files changed, 54 insertions, 3 deletions
diff --git a/dev-lang/pcc/ChangeLog b/dev-lang/pcc/ChangeLog
index 29af08887877..f2418c9fa4bb 100644
--- a/dev-lang/pcc/ChangeLog
+++ b/dev-lang/pcc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/pcc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/pcc/ChangeLog,v 1.1 2010/06/04 13:04:02 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/pcc/ChangeLog,v 1.2 2010/08/30 19:40:57 patrick Exp $
+
+*pcc-1.0.0_pre100830 (30 Aug 2010)
+
+ 30 Aug 2010; Patrick Lauer <patrick@gentoo.org>
+ pcc-1.0.0_pre100604.ebuild, +pcc-1.0.0_pre100830.ebuild:
+ Bump, fixing stripping #335274
*pcc-1.0.0_pre100604 (04 Jun 2010)
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"
diff --git a/dev-lang/pcc/pcc-1.0.0_pre100830.ebuild b/dev-lang/pcc/pcc-1.0.0_pre100830.ebuild
new file mode 100644
index 000000000000..62fffa9bb617
--- /dev/null
+++ b/dev-lang/pcc/pcc-1.0.0_pre100830.ebuild
@@ -0,0 +1,40 @@
+# 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_pre100830.ebuild,v 1.1 2010/08/30 19:40:57 patrick Exp $
+
+EAPI=2
+
+inherit eutils versionator autotools
+
+# extract date stamp for later use
+ver=$(get_version_component_range 4)
+ver=${ver/pre/}
+
+DESCRIPTION="pcc portable c compiler"
+HOMEPAGE="http://pcc.ludd.ltu.se"
+
+SRC_URI="http://pcc.ludd.ltu.se/ftp/pub/${PN}/${PN}-$ver.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+DEPEND=">=dev-libs/pcc-libs-${PV}"
+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
+}
+
+src_compile() {
+ # not parallel-safe yet
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}