commit:     268cdc056ddcc77cca94428f348db2cd0ca90c95
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 15 23:47:10 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 00:07:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268cdc05

games-board/holdingnuts: [QA] Add cmake-utils_src_prepare

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild | 10 ++++++++--
 games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild |  4 ++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild 
b/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild
index 457e8f4aa2c..43adabfbe09 100644
--- a/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild
+++ b/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -23,9 +23,15 @@ RDEPEND="
 DEPEND="${RDEPEND}
        >=dev-util/cmake-2.6.3"
 
+PATCHES=(
+       # upstream patch (bug #307901)
+       "${FILESDIR}"/${P}-wheel.patch
+)
+
 src_prepare() {
+       cmake-utils_src_prepare
+
        sed -i -e '/^Path/d' holdingnuts.desktop || die
-       epatch "${FILESDIR}"/${P}-wheel.patch # upstream patch (bug #307901)
 }
 
 src_configure() {

diff --git a/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild 
b/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild
index 08d29871cc4..daad81defad 100644
--- a/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild
+++ b/games-board/holdingnuts/holdingnuts-0.0.5-r2.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=6
@@ -28,7 +28,7 @@ PATCHES=(
 )
 
 src_prepare() {
-       default
+       cmake-utils_src_prepare
 
        sed -i -e '/^Path/d' holdingnuts.desktop || die
 }

Reply via email to