games-roguelike/moria: Fix paths for prefixed systems
authorJames Le Cuirot <chewi@gentoo.org>
Tue, 5 Feb 2019 21:27:18 +0000 (21:27 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Tue, 5 Feb 2019 21:42:33 +0000 (21:42 +0000)
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-roguelike/moria/moria-5.7.10.ebuild

index 1f337859cbc4d9845d008e0ec1a9a32a43ab01dd..da22f02cda3e5a8198e3cbe28f1dd4ae0d77ebd7 100644 (file)
@@ -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() {