commit:     a3cc1eb4a15a6683587a0185db8e5d6dba83972a
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  5 21:27:18 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Feb  5 21:42:33 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3cc1eb4

games-roguelike/moria: Fix paths for prefixed systems

Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-roguelike/moria/moria-5.7.10.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-roguelike/moria/moria-5.7.10.ebuild 
b/games-roguelike/moria/moria-5.7.10.ebuild
index 1f337859cbc..da22f02cda3 100644
--- a/games-roguelike/moria/moria-5.7.10.ebuild
+++ b/games-roguelike/moria/moria-5.7.10.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 CMAKE_IN_SOURCE_BUILD="yes"
-inherit cmake-utils user
+inherit cmake-utils prefix user
 
 DESCRIPTION="The Dungeons of Moria, a single player roguelike game, also known 
as Umoria"
 HOMEPAGE="https://umoria.org/";
@@ -30,6 +30,7 @@ pkg_setup(){
 src_prepare() {
        cmake-utils_src_prepare
        sed -i "s/@PF@/${PF}/" src/config.cpp || die
+       hprefixify src/config.cpp
 }
 
 src_install() {

Reply via email to