From: David Seifert Date: Sun, 15 Oct 2017 23:20:23 +0000 (-0700) Subject: dev-db/pgagent: [QA] Add cmake-utils_src_prepare X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5a4d4a3c3bdd44b1865ca12abab7ff7290e529ed;p=gentoo.git dev-db/pgagent: [QA] Add cmake-utils_src_prepare Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- diff --git a/dev-db/pgagent/pgagent-3.4.0-r1.ebuild b/dev-db/pgagent/pgagent-3.4.0-r1.ebuild index 318a56619a09..aed37174e318 100644 --- a/dev-db/pgagent/pgagent-3.4.0-r1.ebuild +++ b/dev-db/pgagent/pgagent-3.4.0-r1.ebuild @@ -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" @@ -28,6 +28,8 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_PN}-${PV}-Source" src_prepare() { + cmake-utils_src_prepare + sed -e "s:share):share/${P}):" \ -i CMakeLists.txt || die "Couldn't patch CMakeLists.txt" sed -i -e '/SET(WX_VERSION "2.8")/d' CMakeLists.txt || die diff --git a/dev-db/pgagent/pgagent-3.4.0-r3.ebuild b/dev-db/pgagent/pgagent-3.4.0-r3.ebuild index 3426a5d6bec8..e80fd88d3ce0 100644 --- a/dev-db/pgagent/pgagent-3.4.0-r3.ebuild +++ b/dev-db/pgagent/pgagent-3.4.0-r3.ebuild @@ -33,7 +33,8 @@ PATCHES=( ) src_prepare() { - default + cmake-utils_src_prepare + sed -e "s:share):share/${P}):" \ -i CMakeLists.txt || die "failed to patch CMakeLists.txt" sed -i -e '/SET(WX_VERSION "2.8")/d' CMakeLists.txt || die