summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-11-16 19:53:49 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-11-16 19:53:49 +0000
commit44271721bc192d8e436166c7766280aa0bdbaf6e (patch)
tree45423cc39daf2d9f9f21ffaa5825f8f12d214a29 /games-misc
parentVersion bump. (diff)
downloadgentoo-2-44271721bc192d8e436166c7766280aa0bdbaf6e.tar.gz
gentoo-2-44271721bc192d8e436166c7766280aa0bdbaf6e.tar.bz2
gentoo-2-44271721bc192d8e436166c7766280aa0bdbaf6e.zip
Port Gentoo Prefix changes to gx86
(Portage version: 2.1.7.4/cvs/Linux x86_64)
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/wtf/ChangeLog6
-rw-r--r--games-misc/wtf/files/wtf-20090924-prefix.patch11
-rw-r--r--games-misc/wtf/wtf-20090924.ebuild12
3 files changed, 25 insertions, 4 deletions
diff --git a/games-misc/wtf/ChangeLog b/games-misc/wtf/ChangeLog
index aba53ea94fee..2ccb40d05fb4 100644
--- a/games-misc/wtf/ChangeLog
+++ b/games-misc/wtf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-misc/wtf
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/wtf/ChangeLog,v 1.31 2009/09/24 04:08:42 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/wtf/ChangeLog,v 1.32 2009/11/16 19:53:49 darkside Exp $
+
+ 16 Nov 2009; Jeremy Olexa <darkside@gentoo.org> wtf-20090924.ebuild,
+ +files/wtf-20090924-prefix.patch:
+ Port Gentoo Prefix changes to gx86
*wtf-20090924 (24 Sep 2009)
diff --git a/games-misc/wtf/files/wtf-20090924-prefix.patch b/games-misc/wtf/files/wtf-20090924-prefix.patch
new file mode 100644
index 000000000000..87dc6436e086
--- /dev/null
+++ b/games-misc/wtf/files/wtf-20090924-prefix.patch
@@ -0,0 +1,11 @@
+--- wtf.orig 2009-09-27 10:46:12 +0200
++++ wtf 2009-09-27 10:46:57 +0200
+@@ -12,7 +12,7 @@
+ exit 1
+ }
+
+-acronyms=${ACRONYMDB:-`ls /usr/share/misc/acronyms* 2>/dev/null`}
++acronyms=${ACRONYMDB:-`ls "@GENTOO_PORTAGE_EPREFIX@"/usr/share/misc/acronyms* 2>/dev/null`}
+
+ if [ "$acronyms" = "" ]; then
+ echo "$PROGNAME: acronyms database not found!" >&2
diff --git a/games-misc/wtf/wtf-20090924.ebuild b/games-misc/wtf/wtf-20090924.ebuild
index f17dd0f6420d..48eafbf69739 100644
--- a/games-misc/wtf/wtf-20090924.ebuild
+++ b/games-misc/wtf/wtf-20090924.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/wtf/wtf-20090924.ebuild,v 1.1 2009/09/24 04:08:42 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/wtf/wtf-20090924.ebuild,v 1.2 2009/11/16 19:53:49 darkside Exp $
-inherit eutils
+EAPI=2
+inherit eutils prefix
DESCRIPTION="translates acronyms for you"
HOMEPAGE="http://netbsd.org/"
@@ -10,12 +11,17 @@ SRC_URI="http://dev.gentooexperimental.org/~darkside/distfiles/${PN}/${P}.tar.bz
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND="!games-misc/bsd-games"
RDEPEND="${DEPEND}"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-prefix.patch
+ eprefixify wtf
+}
+
src_compile() {
:
}