summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-10-15 16:28:22 -0700
committerDavid Seifert <soap@gentoo.org>2017-10-15 17:06:21 -0700
commit71202cd9bced5b72843c2fbcd1d7cc71e5ee9182 (patch)
tree72870df83ea3e02ecd080e8d73bee1a209327ffb /dev-games/ogre
parentdev-db/pgagent: [QA] Add cmake-utils_src_prepare (diff)
downloadgentoo-71202cd9bced5b72843c2fbcd1d7cc71e5ee9182.tar.gz
gentoo-71202cd9bced5b72843c2fbcd1d7cc71e5ee9182.tar.bz2
gentoo-71202cd9bced5b72843c2fbcd1d7cc71e5ee9182.zip
dev-games/ogre: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'dev-games/ogre')
-rw-r--r--dev-games/ogre/ogre-1.9.0-r1.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/dev-games/ogre/ogre-1.9.0-r1.ebuild b/dev-games/ogre/ogre-1.9.0-r1.ebuild
index 812a8bd94ce..85c350c407d 100644
--- a/dev-games/ogre/ogre-1.9.0-r1.ebuild
+++ b/dev-games/ogre/ogre-1.9.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -55,6 +55,13 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( app-doc/doxygen )"
+PATCHES=(
+ "${FILESDIR}/${P}-remove_resource_path_to_bindir.patch"
+ "${FILESDIR}/${P}-remove_media_path_to_bindir.patch"
+ "${FILESDIR}/${P}-gcc52.patch"
+ "${FILESDIR}/${P}-samples.patch"
+)
+
src_prepare() {
sed -i \
-e "s:share/OGRE/docs:share/doc/${PF}:" \
@@ -68,11 +75,7 @@ src_prepare() {
rm -f Tools/XMLConverter/{include,src}/tiny*.*
# Fix some path issues
- epatch \
- "${FILESDIR}/${P}-remove_resource_path_to_bindir.patch" \
- "${FILESDIR}/${P}-remove_media_path_to_bindir.patch" \
- "${FILESDIR}/${P}-gcc52.patch" \
- "${FILESDIR}/${P}-samples.patch"
+ cmake-utils_src_prepare
}
src_configure() {