dev-db/pgagent: [QA] Add cmake-utils_src_prepare
authorDavid Seifert <soap@gentoo.org>
Sun, 15 Oct 2017 23:20:23 +0000 (16:20 -0700)
committerDavid Seifert <soap@gentoo.org>
Mon, 16 Oct 2017 00:06:16 +0000 (17:06 -0700)
Package-Manager: Portage-2.3.11, Repoman-2.3.3

dev-db/pgagent/pgagent-3.4.0-r1.ebuild
dev-db/pgagent/pgagent-3.4.0-r3.ebuild

index 318a56619a098727af1ec2490f652d9a9732627b..aed37174e3182972d130e9087609ed2b7ed26d17 100644 (file)
@@ -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
index 3426a5d6bec86ac9377a783f1a2b0419e7d72bf0..e80fd88d3ce0cfdc702910ba780605a41919029a 100644 (file)
@@ -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