summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-01-15 04:16:58 +0000
committerJonathan Callen <abcd@gentoo.org>2010-01-15 04:16:58 +0000
commitd6ab4b996fb749c62d3261dc47e73c4541a42ad5 (patch)
tree78dd4899a708d1d9d5a7aa5956c3f6f89a413bfe /app-text
parentAdd prefix keywords (diff)
downloadgentoo-2-d6ab4b996fb749c62d3261dc47e73c4541a42ad5.tar.gz
gentoo-2-d6ab4b996fb749c62d3261dc47e73c4541a42ad5.tar.bz2
gentoo-2-d6ab4b996fb749c62d3261dc47e73c4541a42ad5.zip
Add prefix keywords
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/pep/ChangeLog7
-rw-r--r--app-text/pep/pep-2.8.ebuild17
2 files changed, 16 insertions, 8 deletions
diff --git a/app-text/pep/ChangeLog b/app-text/pep/ChangeLog
index 52580a0991bc..f8be32f944f3 100644
--- a/app-text/pep/ChangeLog
+++ b/app-text/pep/ChangeLog
@@ -1,6 +1,9 @@
# 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.14 2008/03/27 16:03:46 fmccor Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pep/ChangeLog,v 1.15 2010/01/15 04:16:58 abcd Exp $
+
+ 15 Jan 2010; Jonathan Callen <abcd@gentoo.org> pep-2.8.ebuild:
+ Add prefix keywords
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
diff --git a/app-text/pep/pep-2.8.ebuild b/app-text/pep/pep-2.8.ebuild
index 6e2c126f41c0..5d224aa1d954 100644
--- a/app-text/pep/pep-2.8.ebuild
+++ b/app-text/pep/pep-2.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 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.11 2008/03/27 16:03:46 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pep/pep-2.8.ebuild,v 1.12 2010/01/15 04:16:58 abcd Exp $
inherit eutils toolchain-funcs
@@ -10,7 +10,7 @@ SRC_URI="http://folk.uio.no/gisle/enjoy/${PN}${PV//./}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="mips ppc sparc x86"
+KEYWORDS="mips ppc sparc x86 ~x86-linux ~ppc-macos"
IUSE=""
DEPEND="app-arch/unzip"
@@ -23,20 +23,25 @@ src_unpack() {
# pep does not come with autconf so here's a patch to configure
# Makefile with the correct path
epatch "${FILESDIR}"/${P}-gentoo.patch
+ # Darwin lacks stricmp
+ [[ ${CHOST} == *-darwin* ]] && \
+ sed -i -e '/^OBJS/s/^\(.*\)$/\1 bdmg.o/' Makefile
}
src_compile() {
+ [[ ${CHOST} == *-darwin* ]] && \
+ append-flags "-DDIRCHAR=\\'/\\'" -DSTRICMP
# make man page too
make Doc/pep.1 || die "make man page failed"
emake CC="$(tc-getCC)" || die "emake failed"
}
src_install() {
- dobin pep
- doman Doc/pep.1
+ dobin pep || die "dobin failed"
+ doman Doc/pep.1 || die "doman failed"
insinto /usr/share/pep
- doins Filters/*
+ doins Filters/* || die "doins failed"
dodoc aareadme.txt file_id.diz
}