From 5a4d4a3c3bdd44b1865ca12abab7ff7290e529ed Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 15 Oct 2017 16:20:23 -0700 Subject: [PATCH] dev-db/pgagent: [QA] Add cmake-utils_src_prepare Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- dev-db/pgagent/pgagent-3.4.0-r1.ebuild | 4 +++- dev-db/pgagent/pgagent-3.4.0-r3.ebuild | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.26.2