summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-07-20 08:08:46 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-07-20 08:08:46 +0000
commitbaf2f4562e514c2520ec4c0754ad2fe762ba6338 (patch)
treea90e090c78db680d9ddc1119a93f5c180e455774 /games-misc/fortune-mod
parentUpdate use.local.desc for xfprint. (diff)
downloadgentoo-2-baf2f4562e514c2520ec4c0754ad2fe762ba6338.tar.gz
gentoo-2-baf2f4562e514c2520ec4c0754ad2fe762ba6338.tar.bz2
gentoo-2-baf2f4562e514c2520ec4c0754ad2fe762ba6338.zip
Fix lame logic (bug #141129)
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'games-misc/fortune-mod')
-rw-r--r--games-misc/fortune-mod/ChangeLog6
-rw-r--r--games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild10
2 files changed, 12 insertions, 4 deletions
diff --git a/games-misc/fortune-mod/ChangeLog b/games-misc/fortune-mod/ChangeLog
index 64af783cdcad..91b34a8b3a1c 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/ChangeLog,v 1.21 2006/07/19 18:25:28 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/ChangeLog,v 1.22 2006/07/20 08:08:46 mr_bones_ Exp $
+
+ 20 Jul 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ fortune-mod-1.99.1-r2.ebuild:
+ Fix lame logic (bug #141129)
19 Jul 2006; Diego Pettenò <flameeyes@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 b0ac3bdcc90f..77104b436279 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,6 +1,6 @@
# Copyright 1999-2006 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.4 2006/07/19 18:25:28 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild,v 1.5 2006/07/20 08:08:46 mr_bones_ Exp $
inherit eutils toolchain-funcs
@@ -30,8 +30,12 @@ src_unpack() {
-e "/^OFFENSIVE=/s:=.*:=`use offensive && echo 1 || echo 0`:" \
Makefile || die "sed Makefile failed"
- use elibc_FreeBSD && sed -i -e '/^REGEXLIBS=/s:=.*:= -lcompat:' \
- Makefile || die "sed REGEXLIBS failed"
+ if use elibc_FreeBSD ; then
+ sed -i \
+ -e '/^REGEXLIBS=/s:=.*:= -lcompat:' \
+ Makefile \
+ || die "sed REGEXLIBS failed"
+ fi
}
src_compile() {