summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-10-15 16:20:23 -0700
committerDavid Seifert <soap@gentoo.org>2017-10-15 17:06:16 -0700
commit5a4d4a3c3bdd44b1865ca12abab7ff7290e529ed (patch)
tree860dfa16fbb78c4a6e14eebf596c437f50de37e5 /dev-db/pgagent
parentdev-db/mysql-connector-c: [QA] Add cmake-utils_src_prepare (diff)
downloadgentoo-5a4d4a3c3bdd44b1865ca12abab7ff7290e529ed.tar.gz
gentoo-5a4d4a3c3bdd44b1865ca12abab7ff7290e529ed.tar.bz2
gentoo-5a4d4a3c3bdd44b1865ca12abab7ff7290e529ed.zip
dev-db/pgagent: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'dev-db/pgagent')
-rw-r--r--dev-db/pgagent/pgagent-3.4.0-r1.ebuild4
-rw-r--r--dev-db/pgagent/pgagent-3.4.0-r3.ebuild3
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