games-board/holdingnuts: [QA] Add cmake-utils_src_prepare
authorDavid Seifert <soap@gentoo.org>
Sun, 15 Oct 2017 23:47:10 +0000 (16:47 -0700)
committerDavid Seifert <soap@gentoo.org>
Mon, 16 Oct 2017 00:07:32 +0000 (17:07 -0700)
Package-Manager: Portage-2.3.11, Repoman-2.3.3

games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild
games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild

index 457e8f4aa2cb61a9802dfed4fef08b5e8938f759..43adabfbe09f415cc9a0e292eb8e8f240aac64ad 100644 (file)
@@ -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() {
index 08d29871cc41587ea1302bb78462d3d36298b2b2..daad81defad18ea20177afdce5fd976a71c735c3 100644 (file)
@@ -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
 }