summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerris McCormick <fmccor@gentoo.org>2008-03-27 16:03:46 +0000
committerFerris McCormick <fmccor@gentoo.org>2008-03-27 16:03:46 +0000
commitb3b54bd2a59fa8d4d48ea130381782c587c0168a (patch)
treee5a37a97fa9c0a58954c02b57c405a1ed6e9e488 /app-text/pep
parentStable on ppc64; bug #214975 (diff)
downloadgentoo-2-b3b54bd2a59fa8d4d48ea130381782c587c0168a.tar.gz
gentoo-2-b3b54bd2a59fa8d4d48ea130381782c587c0168a.tar.bz2
gentoo-2-b3b54bd2a59fa8d4d48ea130381782c587c0168a.zip
Syntax cleanup, suggested by Tiago Cunha on Bug #215011. Please see ChangeLog or the Bug.
(Portage version: 2.2_pre5)
Diffstat (limited to 'app-text/pep')
-rw-r--r--app-text/pep/ChangeLog7
-rw-r--r--app-text/pep/pep-2.8.ebuild17
2 files changed, 14 insertions, 10 deletions
diff --git a/app-text/pep/ChangeLog b/app-text/pep/ChangeLog
index c868774c393c..52580a0991bc 100644
--- a/app-text/pep/ChangeLog
+++ b/app-text/pep/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/pep
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pep/ChangeLog,v 1.13 2008/03/27 14:03:32 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pep/ChangeLog,v 1.14 2008/03/27 16:03:46 fmccor Exp $
+
+ 27 Mar 2008; Ferris McCormick <fmccor@gentoo.org> pep-2.8.ebuild:
+ Apply various cleanups to the ebuild, as suggested by Tiago Cunha in Bug
+ #215011. I am applying them directly because this package has no maintainer
+ listed.
27 Mar 2008; Ferris McCormick <fmccor@gentoo.org> pep-2.8.ebuild:
Sparc stable, Bug #215011.
diff --git a/app-text/pep/pep-2.8.ebuild b/app-text/pep/pep-2.8.ebuild
index 8e87080653f7..6e2c126f41c0 100644
--- a/app-text/pep/pep-2.8.ebuild
+++ b/app-text/pep/pep-2.8.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pep/pep-2.8.ebuild,v 1.10 2008/03/27 14:03:32 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pep/pep-2.8.ebuild,v 1.11 2008/03/27 16:03:46 fmccor Exp $
-inherit eutils
+inherit eutils toolchain-funcs
-DESCRIPTION="Pep is a general purpose filter and file cleaning program"
+DESCRIPTION="General purpose filter and file cleaning program"
HOMEPAGE="http://folk.uio.no/gisle/enjoy/pep.html"
SRC_URI="http://folk.uio.no/gisle/enjoy/${PN}${PV//./}.zip"
@@ -13,9 +13,8 @@ SLOT="0"
KEYWORDS="mips ppc sparc x86"
IUSE=""
-DEPEND="app-arch/unzip
- virtual/libc"
-RDEPEND="virtual/libc"
+DEPEND="app-arch/unzip"
+RDEPEND=""
S=${WORKDIR}
@@ -23,17 +22,17 @@ src_unpack() {
unpack ${A}
# pep does not come with autconf so here's a patch to configure
# Makefile with the correct path
- epatch ${FILESDIR}/${P}-gentoo.patch || die "epatch failed"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
}
src_compile() {
# make man page too
make Doc/pep.1 || die "make man page failed"
- emake || die "emake failed"
+ emake CC="$(tc-getCC)" || die "emake failed"
}
src_install() {
- dobin pep || die
+ dobin pep
doman Doc/pep.1
insinto /usr/share/pep