summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-01-25 22:52:18 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-01-25 22:52:18 +0000
commitc2c413bc75f06797672e20178d4ca4604575905e (patch)
tree9a4d672576ebf4742c517052af2e1ff41cdb5fa3 /games-misc/fortune-mod
parentEAPI=2; tidy (diff)
downloadgentoo-2-c2c413bc75f06797672e20178d4ca4604575905e.tar.gz
gentoo-2-c2c413bc75f06797672e20178d4ca4604575905e.tar.bz2
gentoo-2-c2c413bc75f06797672e20178d4ca4604575905e.zip
EAPI=2; tidy
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-misc/fortune-mod')
-rw-r--r--games-misc/fortune-mod/ChangeLog8
-rw-r--r--games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild14
2 files changed, 12 insertions, 10 deletions
diff --git a/games-misc/fortune-mod/ChangeLog b/games-misc/fortune-mod/ChangeLog
index 1912d89958f6..fa37504972c2 100644
--- a/games-misc/fortune-mod/ChangeLog
+++ b/games-misc/fortune-mod/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-misc/fortune-mod
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/ChangeLog,v 1.24 2008/01/14 19:43:25 grobian Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/ChangeLog,v 1.25 2010/01/25 22:52:18 mr_bones_ Exp $
+
+ 25 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ fortune-mod-1.99.1-r2.ebuild:
+ EAPI=2; tidy
14 Jan 2008; Fabian Groffen <grobian@gentoo.org>
fortune-mod-1.99.1-r2.ebuild:
diff --git a/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild b/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild
index a0d212c846b1..99553ba28858 100644
--- a/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild
+++ b/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild
@@ -1,7 +1,8 @@
-# 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/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild,v 1.7 2008/01/14 19:43:25 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild,v 1.8 2010/01/25 22:52:18 mr_bones_ Exp $
+EAPI=2
inherit eutils toolchain-funcs
DESCRIPTION="The notorious fortune program"
@@ -15,10 +16,7 @@ IUSE="offensive elibc_glibc"
DEPEND="app-text/recode"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch \
"${FILESDIR}"/01_all_fortune_all-fix.patch
@@ -32,7 +30,7 @@ src_unpack() {
if ! use elibc_glibc ; then
local reglibs="-lcompat"
- built_with_use app-text/recode nls && reglibs="${reglibs} -lintl"
+ has_version "app-text/recode[nls]" && reglibs="${reglibs} -lintl"
sed -i \
-e "/^REGEXLIBS=/s:=.*:= ${reglibs}:" \
Makefile \
@@ -45,6 +43,6 @@ src_compile() {
}
src_install() {
- make prefix="${D}" install || die "make install failed"
+ emake prefix="${D}" install || die "emake install failed"
dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files
}