games-engines/stratagus: [QA] Add cmake-utils_src_prepare

Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
David Seifert
2017-10-15 16:52:40 -07:00
parent 70cb1d693b
commit 836cd625ff

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -39,6 +39,10 @@ PATCHES=( "${FILESDIR}"/${P}-{debug,doc}.patch )
S=${WORKDIR}/${PN}_${PV}.orig
src_prepare() {
cmake-utils_src_prepare
}
src_configure() {
# there are in-source switches
use debug && CMAKE_BUILD_TYPE=Debug