From 9aae7e0eca11faf721d89afe4e6782d34fca82c7 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Fri, 6 Apr 2007 00:01:01 +0000 Subject: [PATCH] use games_get_libdir Package-Manager: portage-2.1.2.3 --- games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild | 8 ++++---- games-action/d1x/d1x-20040118.ebuild | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild b/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild index a5dc3c1dd578..cdf332dfe9db 100644 --- a/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild +++ b/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild,v 1.5 2006/10/31 04:39:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild,v 1.6 2007/04/05 23:58:47 nyhm Exp $ inherit eutils games @@ -38,7 +38,7 @@ src_unpack() { cp "${FILESDIR}"/${PN}-ded "${FILESDIR}"/${PN} . || die sed -i \ -e "s:@GAMES_SYSCONFDIR@:${GAMES_SYSCONFDIR}:" \ - -e "s:@GAMES_LIBDIR@:${GAMES_LIBDIR}:" \ + -e "s:@GAMES_LIBDIR@:$(games_get_libdir):" \ -e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \ ${PN}-ded ${PN} } @@ -56,7 +56,7 @@ src_install() { docinto html/net dohtml doc/net/*.html newicon tron.ico ${PN}.ico - exeinto "${GAMES_LIBDIR}/${PN}" + exeinto "$(games_get_libdir)/${PN}" if use dedicated ; then doexe src/tron/${PN}-dedicated || die "copying files" else diff --git a/games-action/d1x/d1x-20040118.ebuild b/games-action/d1x/d1x-20040118.ebuild index 9862766cd7a2..ca7db30f672c 100644 --- a/games-action/d1x/d1x-20040118.ebuild +++ b/games-action/d1x/d1x-20040118.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-action/d1x/d1x-20040118.ebuild,v 1.9 2007/03/12 13:15:09 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/d1x/d1x-20040118.ebuild,v 1.10 2007/04/06 00:01:01 nyhm Exp $ inherit eutils games @@ -77,7 +77,7 @@ src_unpack() { fi cd "\${HOME}/.d1x/" - exec "${GAMES_LIBDIR}"/${PN}/${binname} -missiondir "${GAMES_DATADIR}/d1x" "\$@" + exec "$(games_get_libdir)"/${PN}/${binname} -missiondir "${GAMES_DATADIR}/d1x" "\$@" EOS } @@ -109,7 +109,7 @@ src_install() { doins d1x.ini || die # Install the binary executable - insinto "${GAMES_LIBDIR}/${PN}" + insinto "$(games_get_libdir)/${PN}" insopts -m0750 doins "${binname}" -- 2.26.2