Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 234991 Details for
Bug 323587
games-misc/fortune-mod 1.99.1: allow omission of selected fortunes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
revised ebuild
fortune-mod-1.99.1-r3.ebuild (text/plain), 1.44 KB, created by
Scott Alfter
on 2010-06-11 16:54:46 UTC
(
hide
)
Description:
revised ebuild
Filename:
MIME Type:
Creator:
Scott Alfter
Created:
2010-06-11 16:54:46 UTC
Size:
1.44 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 >inherit eutils toolchain-funcs > >DESCRIPTION="The notorious fortune program" >HOMEPAGE="http://www.redellipse.net/code/fortune" >SRC_URI="http://www.redellipse.net/code/downloads/${P}.tar.gz" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" >IUSE="offensive elibc_glibc" > >DEPEND="app-text/recode" > >src_prepare() { > epatch "${FILESDIR}"/${P}-gentoo.patch \ > "${FILESDIR}"/01_all_fortune_all-fix.patch > > for i in $FORTUNE_DELETE > do > find $S -type f -name $i -exec rm \{} \; > for j in $S/datfiles/Makefile $S/datfiles/off/Makefile > do > sed "s/$i//" $j >$j.tmp && mv $j.tmp $j > done > done > > sed -i \ > -e 's:/games::' \ > -e 's:/fortunes:/fortune:' \ > -e '/^FORTDIR=/s:=.*:=$(prefix)/usr/bin:' \ > -e '/^all:/s:$: fortune/fortune.man:' \ > -e "/^OFFENSIVE=/s:=.*:=`use offensive && echo 1 || echo 0`:" \ > Makefile || die "sed Makefile failed" > > if ! use elibc_glibc ; then > local reglibs="-lcompat" > has_version "app-text/recode[nls]" && reglibs="${reglibs} -lintl" > sed -i \ > -e "/^REGEXLIBS=/s:=.*:= ${reglibs}:" \ > Makefile \ > || die "sed REGEXLIBS failed" > fi >} > >src_compile() { > emake CC="$(tc-getCC)" || die "emake failed" >} > >src_install() { > emake prefix="${D}" install || die "emake install failed" > dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 323587
: 234991