commit:     c9ade02efa78e864b77ef329594716be6c8ca137
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 15 23:54:50 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 00:08:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ade02e

games-strategy/freesynd: [QA] Add cmake-utils_src_prepare

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 games-strategy/freesynd/freesynd-0.7.1.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/games-strategy/freesynd/freesynd-0.7.1.ebuild 
b/games-strategy/freesynd/freesynd-0.7.1.ebuild
index ca97959a721..ec26a73395b 100644
--- a/games-strategy/freesynd/freesynd-0.7.1.ebuild
+++ b/games-strategy/freesynd/freesynd-0.7.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 inherit eutils cmake-utils gnome2-utils games
 
-DESCRIPTION="A cross-platform reimplementation of engine for the classic 
Bullfrog game, Syndicate"
+DESCRIPTION="A portable reimplementation of engine for the classic Bullfrog 
game, Syndicate"
 HOMEPAGE="http://freesynd.sourceforge.net/";
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
@@ -21,10 +21,12 @@ RDEPEND="media-libs/libogg
        media-libs/sdl-image[png]"
 DEPEND=${RDEPEND}
 
+PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
+
 CMAKE_IN_SOURCE_BUILD=1
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-cmake.patch
+       cmake-utils_src_prepare
 
        sed \
                -e "s:#freesynd_data_dir = 
/usr/share/freesynd/data:freesynd_data_dir = ${GAMES_DATADIR}/${PN}/data:" \

Reply via email to