summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-04-04 19:55:13 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-04-04 19:55:13 +0000
commitcbe0d2f0d79fabe7524e69f3e906f1f6cd59d792 (patch)
tree94ef0d35ae1b8355317cda3a498b430c8bbf9892 /games-strategy
parentadded ~alpha keyword (diff)
downloadgentoo-2-cbe0d2f0d79fabe7524e69f3e906f1f6cd59d792.tar.gz
gentoo-2-cbe0d2f0d79fabe7524e69f3e906f1f6cd59d792.tar.bz2
gentoo-2-cbe0d2f0d79fabe7524e69f3e906f1f6cd59d792.zip
use games_get_libdir
(Portage version: 2.1.2.3)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/freecraft/freecraft-1.18-r3.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games-strategy/freecraft/freecraft-1.18-r3.ebuild b/games-strategy/freecraft/freecraft-1.18-r3.ebuild
index da68453b3270..92e1be224baf 100644
--- a/games-strategy/freecraft/freecraft-1.18-r3.ebuild
+++ b/games-strategy/freecraft/freecraft-1.18-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft/freecraft-1.18-r3.ebuild,v 1.14 2007/02/17 09:26:11 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft/freecraft-1.18-r3.ebuild,v 1.15 2007/04/04 19:55:13 nyhm Exp $
inherit eutils games
@@ -32,7 +32,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
sed -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \
- -e "s:GENTOO_LIBDIR:${GAMES_LIBDIR}/${PN}:" \
+ -e "s:GENTOO_LIBDIR:$(games_get_libdir)/${PN}:" \
"${FILESDIR}"/${PN} > "${T}"/${PN} \
|| die "sed failed"
epatch \
@@ -48,7 +48,7 @@ src_compile() {
}
src_install() {
- exeinto "${GAMES_LIBDIR}"/${PN}
+ exeinto "$(games_get_libdir)"/${PN}
doexe freecraft || die "doexe failed"
dogamesbin "${T}"/${PN} || die "dogamesbin failed"