summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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