summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/pgagent/pgagent-3.4.0-r1.ebuild')
-rw-r--r--dev-db/pgagent/pgagent-3.4.0-r1.ebuild4
1 files changed, 3 insertions, 1 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